Reputation: 496
I get the error above in my Eclipse signed web applet. I would appreciate any help..
It states that my class is not found:
Exception in thread "AWT-EventQueue-2" java.lang.NoClassDefFoundError: com/dermalog/common/exception/DermalogException
Although I have images as proof that it is included in the build:
How I added my jar files:
Upvotes: 0
Views: 3931
Reputation: 5291
Adding a jar to project Java Build Path in an Eclipse project in most cases only means to add it to classpath used for compilation. Items set on build path are also used to create classpath when running your application or applet from within Eclipse.
The build path however does not say anything about the classpath of your applet when it runs in a different context, e.g. on a webpage. There, one needs to make sure that classpath contains all jars needed to run the app.
There are two simple ways to do this:
EDIT: Ok, I checked your jar file and found this:
Class-path: dermalog.afis.drawing.compression.jar dermalog.afis.fingercode.jar dermalog.imaging.capturing.jar
The page I linked above explains that.
Upvotes: 1