Eclipse+Maven src/main/java not visible in src folder in Package Explorer

前端 未结 16 2072
情深已故
情深已故 2020-12-23 09:19

I\'m wondering why I can\'t see following folders in src node in Package Explorer

src/main/java
src/main/resources
src/test/java
src/test/resources
         


        
16条回答
  •  梦毁少年i
    2020-12-23 09:42

    I was not able to see the build path option in the properties as well. Also the

    src/main/java

    was not visible in Project Explorer. below solution worked for me

    1. Go to Project root
    2. Select "Project facets" from Properties
    3. Check "Java"

    This fixes the issue

提交回复
热议问题