File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Class not found Exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Class not found Exception" Watch "Class not found Exception" New topic
Author

Class not found Exception

mah kumar
Greenhorn

Joined: Feb 05, 2004
Posts: 22
Hi friends,
I am using Tomcat-4.0 on Redhat linux9.In jsp program i am using bean. For example, <jsp:useBean id=webmail class=webmail1.webmailbean scope=page />.
I had put the java file in to web-inf/classes directory.
When running jsp file it produce class not found exception.It works fine in Windows NT.Please help me.
Thanks in advance.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12761
    
    5
Does your .jsp page tag code import the webmail1.webmailbean class? If not, exactly how do you refer to it?
I really hope that "put the java file in to web-inf/classes directory." is a misprint and you meant to say the compiled .class file.
Are you saying that you have exactly the same code on WinNT as on your Linux server - seems pretty unlikely to me, but I suppose it is possible.
Bill
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Class not found Exception
 
Similar Threads
File upload
Where to place JCE1.2.1 , which is used by my useBean class ?
jsp+beans
JSP - BEAN Error ???
jsp error in spring