Suresh Atta
Suresh Atta

Reputation: 121998

How can I add Normal Java project capabilities to EJB project in Eclipse (.ear)?

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.

enter image description here

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 ?

enter image description here

Upvotes: 0

Views: 341

Answers (1)

Vasan
Vasan

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

Related Questions