jQuery in Action, 3rd edition
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
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\insert_details.java" 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: 1580
Is there more to that error message?
Maybe telling you which class it can't find?

I agree. Here's the link: http://aspose.com/file-tools
subject: Class not found
jQuery in Action, 3rd edition