Sim
Sim

Reputation: 103

How to fix the SRC folder in Java Build Path?

I have the following source code hierarchy situation :

> ProjectRoot
> |-- src/
>      |--- main/
>            |-----java/ 
>                    |-----com/github/myapp
>                                       |------MyAppMainFile
>            |-----ressources/
> pom.xml

How to set the Source Folder in the Build Path of Maven Java Project inside Eclipse ?

Upvotes: 0

Views: 726

Answers (1)

Gnk
Gnk

Reputation: 720

If your eclipse did not recognize importing with "Existing maven projects"

Remove the project from eclipse

run the command "mvn eclipse:eclipse"

import again with General > Existing Projects into Workspace

Upvotes: 1

Related Questions