When I try to import an existing project into eclipse, I see duplicate packages for src folder(highlighted in red below) Not sure why.How do i fix this?
1 Answer
This is not an issue, actually It's fine.
Eclipse displays the package view (as you pointed in the first red square) and also the directories inside your project (the second square).
As you can see in your screenshot, the first 3 folders contain the package icon (that's because you are using the Package Explorer view), then below your Maven dependencies you can find the physical folders.
If you don't want to see your package folder you may consider using Navigator view instead of Package Explorer.
Btw, you can configure filters for your view by using:
Then select the filter you consider appropiated.
-
-
I am in the same issue, but when I edit in one place the other is not updated. Very weird... Commented Aug 20, 2019 at 9:32