How to solve Fat Jar Export: Could not find class-path entry

1

I'm having serious problems exporting a program made in Eclipse and I'm beginning to hate myself for trying to be organized.

I imported two third-party libraries (JavaMail and iText 5) into my project. Their JARs I downloaded from the Internet and saved them in my Downloads folder. I imported JARs (in the case of External JARs) by Build Path... and everything was working. The program was running perfectly and I was succeeding in all exports.

But then I tried to be organized ... I moved the JAR from JavaMail (which had no folder) and the iText folder - all - into the folder of my Project. I did not put either inside the / src folder or the / bin, just inside the Project folder. To make it even more organized, I created a folder / lib within the folder of my Project and put those libraries there.

That is:

- PASTA DO PROJETO
--- src
--- bin
--- lib
------ JavaMail.jar
------ Pasta do iText com os seus respectivos JARs

I understand that tampering with the destination of these files, once imported, can cause serious problems. So I did not think twice: I was in Build Path... , I deleted the libraries (imported from the old Downloads folder), and re-imported them from the new / lib folder.

Apparently all right ... The program runs perfectly. Everything works as before. Including JavaMail and iText library methods.

Only ...

When I export the program (by Runnable JAR file ), the following error appears for ALL External JARs:

Fat Jar Export: Could not find class-path entry for

This does not prevent exporting. It happens normally. But when I open the generated JAR, it presents an error and closes.

What's missing here?

    
asked by anonymous 30.05.2017 / 22:12

0 answers