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
请先登录再写评论。
Goto File->Project Structure->Modules->Choose Your Module->Make sure your folder is marked as sources
Thanks. That works.
I sign in just to say thank you Michael!