Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

Cannot resolve symbol on import

$
0
0

Hello -- This problem happens intermittenly for different libraries and different projects --

When trying to import a library, the package will be recognized, but the class name cannot be resolved.

 

If on the import statement, I right-click -> Goto -> the package's declaration, I see all the decompiled classes displayed in the side pane -- Including the ones I need --

If I try to auto-complete the import statement, I notice the class I need is not featured in the dropdown.

 

I tried invalidating caches already, doesn't work. I cannot find any class conflicts -- there is no other jar file in my classpath with the same package name.

I am able to import this class into other projects.

 

Please see attached image --

 

Anyone have a clue? --- Thanks


Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>