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

前端 未结 16 2083
情深已故
情深已故 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条回答
  •  死守一世寂寞
    2020-12-23 09:48

    I have solved this issue by below steps:

    Right click the Maven Project -> Build Path -> Configure Build Path In Order and Export tab, you can see the message like '2 build path entries are missing' Now select 'JRE System Library' and 'Maven Dependencies' checkbox Click OK Now you can see below in all type of Explorers (Package or Project or Navigator)

提交回复
热议问题