728x90
Hi, I've imported a method that uses
org.apache.commons.lang3
however my IDE shows that its not recognized but the code still works perfectly fine, I just find it annoying since it's showing I have errors in my project when I don't. (The app still compiles fine etc. my IDE just states that it cannot resolve symbol commons)
cannot resolve symbol 'commons'
What build system do you use? If it's Maven try to perform the following steps:
- File | Invalidate Caches... | Mark first two checkboxes | Invalidate and Restart
- Close the project window File | Close Project and IntelliJ.
- Open your project in OS file explorer and remove all *.iml files and the .idea folder from your project.
- Delete .m2 maven folder.
- Re-import the project into IntelliJ from Existing sources.
'Java > Spring Boot JPA' 카테고리의 다른 글
누구나 할 수 있는 10배 더 빠른 배치 만들기 (2) | 2024.03.27 |
---|---|
MySQL and JPA Paging (0) | 2024.03.25 |
[JPA] 프록시(Proxy)와 엔티티 연관 관계(LAZY, EAGER) (1) | 2024.03.18 |
[JPA] Entity Class의 @NoargsConstructor (access = AccessLevel.PROTECTED) (31) | 2024.03.18 |
Class 'xxxxxxx' should have [public, protected] no-arg constructor (0) | 2024.03.15 |