File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes Class not found Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient in the Java 8 forum!

JavaRanch » Java Forums » Java » JSP
Bookmark "Class not found" Watch "Class not found" New topic

Class not found

Deo Sharma

Joined: Apr 14, 2012
Posts: 12
[EDIT: split this unrelated post from another topic. Please start new topics for new questions]

Thanks for your suggestion, the problem is solved. But i m stuck in another problem . The problem is that i m getting an exception when inserting values to the database as the exception is "Exception in thread main java.lang.noclassdeffounderror". My java file for my JSP project is in "C:\apache-tomcat-6.0.35\webapps\examples\WEB-INF\classes\ems\" and my jdk is in "C:\Program Files\Java\jdk1.5.0_04".

I search in google and found that it is due to missing of jar file. Can you tell me what jar to put and where. I have jstl and standard jar file in "C:\apache-tomcat-6.0.35\webapps\examples\WEB-INF\lib folder. should i have to put any other jar file or what. please help me. Thanks in advance.
Stefan Evans

Joined: Jul 06, 2005
Posts: 1156
Is there more to that error message?
Maybe telling you which class it can't find?

rocket mass heater kickstarter
subject: Class not found