Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Problem with Java Buildpath in Eclipse

In eclipse I have an error related to my build path.

The error:

Project 'XX' is missing required library: 'middlegen-2.1.jar'

But the library is deleted before the build path configuration.

Is there perhaps a problem with cache or so?

Has anyone an idea why eclipse say that the library is required even though the library was deleted before the build path configuration.

With Best

like image 457
bladepit Avatar asked May 05 '11 15:05

bladepit


People also ask

How do I fix Java build path in Eclipse?

Procedure. In Eclipse select the web project and right-click Build Path > Configure Build Path. This will display the Java Build Path window. Add the CICS and Liberty libraries, click Add Library > CICS Liberty libraries > Next > Finish.

How do I fix configure build path error?

Make sure that your source folder is listed within "Source folders in build path". If not add it using Add folder button. If problematic file is part of some jar - upon reaching here , click the libraries tab and make sure that the jar file is listed within "Jars and class folders on the build path".

What is Java build path in Eclipse?

The java build path can be seen and modified by using the Java Build Path page of the Java Project properties dialog. To bring up the Java Project properties dialog box, right click on a Java Project in the Package Explorer view and select the Properties menu item. On the left hand side tree select Java Build Path.


1 Answers

I guess you've deleted the library from a directory, but you've not updated the project Build Path. Right click on the project name, select "Properties", go to "Java Build Path", choose the "Libraries" tab, and see that your library is not in the list. If it's still in that list, remove it with the "Remove" button.

like image 78
MarcoS Avatar answered Oct 03 '22 10:10

MarcoS