tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Funk <funk...@joedog.org>
Subject Re: JasperException: Unable to compile class for JSP
Date Tue, 04 Oct 2005 10:50:19 GMT
Put it in a package ... http://jakarta.apache.org/tomcat/faq/classnotfound.html

-Tim

Goo GGooo wrote:

> On 10/4/05, Wendy Smoak wrote:
> 
>>From: "Goo GGooo" <googgooo@gmail.com>
>>
>>>An error occurred at line: 1 in the jsp file: /name.jsp
>>>Generated servlet error:
>>>UserData cannot be resolved or is not a type
>>>===
>>>
>>>Files webapps/tut/name.jsp and
>>>webapps/tut/WEB-INF/classes/UserData.java are attached.
>>
>>Try putting UserData in a package.
> 
> 
> That works, cool! What's the reason for that? Can I make it running
> without packages? (just interested, not that I'm unhappy with having
> it in a package :-)
> 

---------------------------------------------------------------------
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