I have a javaservlet web application running on an application server, the error I got was --
java.lang.NoClassDefErrorFound and it shows some Class name as "(unknown source)". I checked and found I have already included that class package .jar in the application server's CLASSPATH. and everything compiles without any problem. What could be the problem ? Any clue or suggestion ?
The usual way to include a jar file in your web application's classpath is just to put it in the web application's WEB-INF/lib directory. That's probably what you should do too, unless you really need to make the jar file accessible not only to all web applications but to the application server itself.