IntelliJ libraries classpath
Hi,
I have problem with my libaries (classpath) with IntelliJ 4.0.3. I added several jar files to my module libraries path. While IntelliJ build process (Build Module) can find these libraries OK and compiled successful, the IntelliJ editor (where I edit my Java files) does not know about classes inside these libraries. For example, even if I have servlet.jar in the libraries classpath, IntelliJ shows reference to HttpServletRequest in read (ie un-resolved symbol). Can anybody help me here ?
Regards,
Hao Nguyen
Please sign in to leave a comment.
Try removing your cache directory (~/.IntelliJIDEA/system/caches), and restarting IDEA. Sometimes IDEA (specially before 4.5) loses track of libraries, and you have to restart it.
Hi,
I removed the whole directory tree ~/.IntelliJIDEA/system/caches and it still does not help (ie red marks on all my imported classes from jar files). Any other ideas ?
hao