tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phillip Morelock <subscripti...@phillipmorelock.com>
Subject Re: Mod JK & Directories
Date Sat, 01 Jun 2002 21:15:32 GMT
can you send us your @page declaration where you "import" your classes?

and show us the directory listing for WEB-INF/classes

fillup


On 6/1/02 3:05 AM, "Frederick Aubert" <faubert@net2000.ch> wrote:

> Hi,
> 
>> in server.xml create context named mywebapp
>> <Context path="mywebapp" docBase="E:/mydirectory/mywebapp" debug="0"
>> reloadable="true"/>
> 
> Thanks it worked fine. I am now one step further in my deployment.
> 
> But I am having one more problem. My webapp is quite complex and is using a
> lot of Java beans and classes. It seems that whenever I access my webapp the
> classes don't seem to load properly. I made sure that my classes were
> compiled into webapp/WEB-INF/classes directory. But Tomcat is throwing
> exceptions at me indicating it can't load the classes properly. Do I need to
> specify somewhere were the classes are located? It seems that Tomcat is
> looking for them in its base directory... While it should be looking for
> them in webapp root directory (e:/mydirectory/webapp/web-inf/classes/webapp)
> 
> Here is the exception I get:
> 
> org.apache.jasper.JasperException: unable to compile class for JSP
> D:\Tomcat\work\standalone\localhost\webapp\public\public.jsp.
> Package webapp not found in import webapp.*
> 
> Thanks, Frederick Aubert
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>
> 


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


Mime
View raw message