Riju Mahna
Riju Mahna

Reputation: 6916

Eclipse : Project properties don't show Build Path

My Eclipse does not show the 'Java Build Path' option in my Java project's properties. The properties screenshot is attached below. What might be the reason for this? On the left side there should be an option for 'Java Build Path'.

Build path not available

Upvotes: 14

Views: 107304

Answers (8)

Manish Tiwari
Manish Tiwari

Reputation: 1

If it was working fine previously and now its not, check whether you are in Enterprise tab or the Navigator tab, because if you're in the Navigator tab it won't work.

Upvotes: 0

Tadele Ayelegn
Tadele Ayelegn

Reputation: 4706

I was in the same situation, and found two different solutions for this.

  1. Right click on the src folder and check if you can see the option to configure the build path. After that, right click on the project and do Maven > update project.

If this does not work,

  1. Right click on the project > properties > project facets and click on the link saying convert the project into faceted project.

Right click on the project, hit Refresh and check if you get the option to configure build path now.

Upvotes: 13

Sameer Patel
Sameer Patel

Reputation: 51

Make sure your project's root directory contains .classpath and .project file.

  1. The .classpath file should look like this -

enter image description here

  1. The .project file should look like this -

enter image description here

With these changes in place you should be able to see the proper folder structure as well as the "Build Path" option when you right-click the project.

Upvotes: 0

Willy Makend
Willy Makend

Reputation: 137

I had the same problem when trying to compile a project. The solution was to go to "run configurations" and choose the right Runtime JRE.

Upvotes: 0

A Taylor
A Taylor

Reputation: 153

I had to delete my maven .m2/repository folder and that made my build path reappear.

Upvotes: 0

Viv
Viv

Reputation: 71

Build your project using Project->Build Project in Eclipse .This will automatically adds build path to your project.

Upvotes: 0

vijay junupalli
vijay junupalli

Reputation: 531

To resolve this issue follow the below options

1) Go to Project root 2) Select "Project facets" from Properties 3) Check "Java"

This fixes the issue

Upvotes: 43

NoNaMe
NoNaMe

Reputation: 6222

You may get some help from any of these blogs

How do I add a builder to a given project

OR check this post

Eclipse adding your own build command

Upvotes: 2

Related Questions