I had a bunch of jar files under $JAVA_HOME/jre/lib/ext like IBM xml4j
parser etc. I removed them all, set $CLASSPATH to blank, and set
$CATALINA_HOME in /etc/profile. This fixed my problem. 

Vijay Kandy

-----Original Message-----
From: Vijay Kandy 
Sent: Friday, February 27, 2004 2:11 PM
To: 'Tomcat Users List'
Subject: RE: Problems running JSPs


Theres no jar file associated with examples webapp but I put
examples/WEB-INF/classes in classpath but that did not help - I still get
the same stack trace. Any other suggestions please?

Vijay Kandy

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, February 27, 2004 12:02 PM
To: Tomcat Users List
Subject: Re: Problems running JSPs



Have you added the jar that contains the num.NumberGuessBean under the
examples/WEB-INF/lib
Or add the num.NumberGuessBean to the examples/WEB-INF/classes


RS


 

                      Vijay Kandy

                      <[EMAIL PROTECTED]        To:       'Tomcat Users List'

                      com>
<[EMAIL PROTECTED]>                           
                                               cc:

                      02/27/2004 10:57         Subject:  Problems running
JSPs                             
                      AM

                      Please respond to

                      "Tomcat Users

                      List"

 

 





Hello All,

I am having trouble running JSPs in examples context (that with Tomcat).
Below is my stack trace:

org.apache.jasper.JasperException: Unable to compile class for
JSP/var/tomcat/work/Standalone/localhost/examples/_0002fjsp_0002fnum_0002fnu

mguess_0002ejspnumguess_jsp_0.java:15: Class num.NumberGuessBean not found
in import.
import num.NumberGuessBean;
       ^
1 error

             at org.apache.jasper.compiler.Compiler.compile(Compiler.java)
             at
org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java)
             at
org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java)

I thought it was something to do with classpath and set JAVA_HOME,
CATALINA_HOME and even added all the jars in the classpath. Also, I
followed
some suggestions found in the archives including setting _RUN atributes,
upgraded from Tomcat 4.1.24, 4.1.27, 4.1.30

Please let me know if there is ANYTHING else that I can do.

The environment is Red hat linux 2.4.3-6smp #1, PII, JDK 1.3.1

Thank you,
Vijay Kandy

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






This transmission is intended to be strictly confidential. If you are not
the intended recipient of this message, you may not disclose, print, copy
or disseminate this information. If you have received this in error, please
reply and notify the sender (only) and delete the message. Unauthorized
interception of this e-mail is a violation of federal criminal law.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to