Reputation: 121998
Just started working with EJB (already developed project).
Imported the project from git and converted it to Maven project. However the project looks like a normal folder structure unlike regular java project. I cannot have any eclipse Java capabilities in side those files. Though they are Java files they look like class files to me with different symbol (can see that in image).
It won't compile unless I do maven build. Eclipse not showing any errors for those files even there are compile errors.
Running each time maven kills time and its irritating too.
Any help will be greatly appreciated. How to make that a normal Java project with eclipse compiler capabilities.
What configuration I have to do achieve this ?
Upvotes: 0
Views: 341
Reputation: 4956
Try running the command mvn eclipse:eclipse
from the root folder of the project. It will create eclipse configuration files after which the project can be imported in Eclipse.
Upvotes: 1