Hi I have a weird problem where when I run my webapp, I get a NoClassDefFoundError
But when I check in Eclipse, I find the .jar file (Jnotify.jar) and it shows all the classes. Same case when I import the .war file of my webapp I see the classes in the dependencies.
What could be my problem?
Thanks!
I found what was causing the error:
JNotify has specific Library DLL, I was placing them corectly in java.library.path but the problem is Tomcat doesn't look for those libraries unless the corresponding .jar files are in Tomcat/lib.
So adding my jnotify.jar to tomcat/lib fixed my problems.