This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
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


Win a copy of Java 8 in Action this week in the Java 8 forum!
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: 12682
    
    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


Java Resources at www.wbrogden.com
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Class not found Exception
 
Similar Threads
jsp error in spring
Where to place JCE1.2.1 , which is used by my useBean class ?
jsp+beans
JSP - BEAN Error ???
File upload