Rahul Jain
Rahul Jain

Reputation: 719

The resource is not on the build path of a Java project

I am building my projects with the help of maven.I have installed m2e plugin in eclipse.However, each time it gives me this message:

The resource is not on the build path of a Java project.

Upvotes: 3

Views: 8404

Answers (1)

RohitRSharma
RohitRSharma

Reputation: 59

Here is what i did

right click on project Properties ==> project facets-> check the option for Java and press ok.

if no facets exits after you click on project facets then add one and check java option and you should be fine

Upvotes: 3

Related Questions