What to do about "Java class located out of the source root"

  I have the icon that shows a Java class lcoated out of source root.  I'm not sure what to make of that. Both classes are under paths that are under the "web" module of a maven project:
project dir-web-main-webapp-aaa-bbb-mvnspringwebapp-FrontController.java
project dir-web-main-test-aaa-bbb-mvnspringwebapp-test-FrontControllerTests.java

Do I need to change this structure for IDEA to figure out what is going on?  Thanks.

Ken

2 comments
Comment actions Permalink

Goto File->Project Structure->Modules->Choose Your Module->Make sure your folder is marked as sources

0
Comment actions Permalink

Thanks. That works.

0

Please sign in to leave a comment.