tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Derek Mahar" <DMa...@penson.ca>
Subject RE: org.apache.jasper.JasperException: Unable to compile class for JSP
Date Thu, 20 Nov 2003 19:29:12 GMT
Did you put your class in package?  Unless you put your classes (even
those in a jar file) in a package, Tomcat assumes a default package of
"org.apache.jsp".  If you did not put your class in that package, Tomcat
won't find it.  See
http://marc.theaimsgroup.com/?l=tomcat-user&m=102997632829655&w=2.

Derek

-----Original Message-----
From: Luis Estevens [mailto:lestevens@edia.pt] 
Sent: November 20, 2003 12:44 PM
To: 'tomcat-user@jakarta.apache.org'
Subject: org.apache.jasper.JasperException: Unable to compile class for
JSP


Hello

 

I have Windows2000 Server, IIS5, jdk 1.4 and Tomcat 4112

 

After sucesuffly installed TomCat and tested it through
http://localhost/examples/servlet/HelloWorldExample
<http://localhost/examples/servlet/HelloWorldExample>  i tried to put
some jsp witch calls a bean to work

 

Unfortunally i get an "org.apache.jasper.JasperException: Unable to
compile class for JSP"

 

I created a jsp file named "time.jsp" and put it into a directory named
bigjava into webapp. The "Timebeanclass" witch is invoked in time.jsp
and i put into a jar file with the corrected classpath is placed into
the classes file, witch also contains the Timebeanclass.java

 

I already search google and found lots of people with the same problems,
but nothing applies to me

 

Got any clue?

 

Thanks in advance

 

Luis Estevens

 

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message