0

I created a combined Jar file containing classes and different jars, using eclipse. I added the Jar file in build path of a project as an external archive. Now eclipse doesn't allow me to see or import the classes inside these jar files. Here's the link of that eclipse is showing me

How can I view and import the .class files inside these jars?

Emma66
  • 27
  • 5

1 Answers1

0

Your One-JAR (also called fat JAR) contains nested JARs instead of the .class files that are contained in these JARs.

When creating the combined.jar JAR file, make sure that the .class files are not zipped twice (e. g. unzip all JAR files into the same folder without creating extra subfolders and then zip the content of this folder as combined.jar).

howlger
  • 31,050
  • 11
  • 59
  • 99