Reputation: 115
I just imported a Maven project in eclipse using : Import > Maven > Existing Maven Projects, but in eclipse it comes as a folder structure and not in a package structure, which means the project is not building also.
i.e., in the above image under edmkt project src > main > google and so on.. folders are shown(it has .proto files and not .java files), and under edtmkt-all-service, src/main/java package is shown.
Upvotes: 0
Views: 3141
Reputation: 31
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)
src/main/java
src/main/resources
src/test/java
Upvotes: 1