File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Class not found" Watch "Class not found" New topic
Author

Class not found

Deo Sharma
Greenhorn

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
Bartender

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

 
Don't get me started about those stupid light bulbs.
 
subject: Class not found
 
Similar Threads
Axis2-1.4 help
services.xml cannot be found in my .jar files
servlets
Cannot create JDBC driver of class '' for connect URL 'null'
Problems with installing Axis 1.0