Control-N (open class) not finding classes

Answered

All,

I have a problem with an Idea 11.x project where control-n doesn't show all matching classes.  I've been using Idea for 10 years and generally know what I'm doing but am pretty stumped on this one.

I created a project from existing src.  I've done it two ways.  By default, Idea wants to create separate modules for the src and test trees.  Control-n doesn't find any of the src code, only test.  If I recreate the project with a single module containing src and test, marked appropriately under the modules/sources tab, I still get the same behavior where the src classes are not found, only test classes.  If I open a src class by clicking it in the project browser, I get errors about classes and imports not being found, even though they're right where they should be.

Currently I'm having this problem with an internal codebase, but I think I once had it with Axis 1.x, fwiw.

Any suggestions?

Thanks

john

0
5 comments
Avatar
Permanently deleted user

Hi John,

Please try to execute main menu | file | invalidate caches

Denis

0
Avatar
Permanently deleted user

Worked perfectly.  Thanks.

0
Avatar
Permanently deleted user

You are welcome

0

Hello,  I am having the same problem.  The classes from my project are not being find.  I have a sbt project with multiple projects and I am using the latest version with intelij.  

Everything works,  the ONLY problem is the Find Classes command.

I am using a Macosx. (COmmand O)

 

0

Post is closed for comments.