JAR Libraries Missing in Order and Export Tab in Eclipse IDE

 JAR Libraries Missing in Order and Export Tab in Eclipse IDE

You can get an error in Eclipse IDE:

Error:   Could not find or load main class...

And your application doesn’t run. So go to the Window -> Show View -> Problems

The Problems tab appears. You can see all warnings and errors that prevents your application from running. And you should see that some jar libraries is missing.

Well, what to do to fix that?

Right click on your project name -> Build Path -> Configure Build Path -> Order and Export tab

Check if some of these libraries are missing. You should see the word “missing” at the end of the entries. If so, go to Libraries tab -> Select all external libraries (for example, I have common-logging libraries and spring framework libraries) -> click Remove button to delete them ( do not remove JRE System Library!)

Now, export all these external libraries another time.

Click Add External JARs -> search your libraries (common-logging libraries and spring framework libraries in my project) on your HDD to export them another time -> OK

Back to Order and Export Tab -> you should see the exported libraries without “missing” at the end of the entries -> OK

Try to run your project.

2 thoughts on “JAR Libraries Missing in Order and Export Tab in Eclipse IDE

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s