You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by howard fraser <ho...@hotmail.com> on 2001/07/16 16:29:09 UTC

JasperException / classpath(?) problem

I wonder if anyone can shed any light on the following - I have looked
through the archived messages, but to no avail.

I have tomcat 3.2.2 installed on Windows 2000 SP2 with jdk1.3.1.  I do not
have a CLASSPATH environment variable set.  When I start tomcat it first
says

Using CLASSPATH:
C:\tomcat\classes;C:\tomcat\lib\ant.jar;C:\tomcat\lib\jasper.jar;C:\tomcat\l
ib\jaxp.jar;
C:\tomcat\lib\parser.jar;C:\tomcat\lib\servlet.jar;C:\tomcat\lib\webserver.j
ar;C:\jdk1.3.1\lib\tools.jar

...which seems fine to me (all the above mentioned jars exist).

When I try to run the jsp examples that come with tomcat (e.g. number guess)
I get the following exception...

org.apache.jasper.JasperException: Unable to compile class for
JSPC:\tomcat\work\localhost_8080%2Fexamples\jsp\num\_0002fjsp_0002fnum_0002f
numguess_jsp.java:3: Class num.NumberGuessBean not found in import.
import num.NumberGuessBean;

Is there sthg else I need to add to my classpath in order that tomcat can
locate num.NumberGuessBean?

Many thanks in advance for any help


howard