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

前端 未结 16 1971
情深已故
情深已故 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:47

    Navigate > Show In > Package Explore

    0 讨论(0)
  • 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)

    0 讨论(0)
  • 2020-12-23 09:49

    I had the same problem, I changed my Eclipse project view from Package explorer to Project Explorer.

    0 讨论(0)
  • 2020-12-23 09:50

    After creating the project go to properties --> build path --> configure build path --> order and export tab and check jre and maven dependencies. You will then have the folder.

    0 讨论(0)
提交回复
热议问题