Yes -- your webapp's jars are placed in your webapps's WEB-INF/lib
folder.  Unjarred classes are placed in WEB-INF/classes w/ a folder
layout mirroring the package layout for your classes.

BTW, listeners.ContextListener AFAIK is not a tomcat class.  Maybe
you've copied a web.xml off the web and used it without knowing what all
the different parts are.

--David

Dave Pawson wrote:
> From the logs
>
> [Loaded SimpleServlet from
> file:/apps/tomcat6/webapps/atom/WEB-INF/classes/SimpleServlet.class]
> Feb 3, 2009 3:57:06 PM org.apache.catalina.core.StandardContext listenerStart
> SEVERE: Error configuring application listener of class
> listeners.ContextListener
> java.lang.ClassNotFoundException: listeners.ContextListener
>
>
> I've loaded a very simple restlet and I'm missing something in the 
> classpath...
> Guessing this is a TC jar, where should it be please... or
> if I need a jar file, AFAIK it should be loaded into
> webapps/myapp/WEB-INF/lib/myjar.jar
>
> Is that the right structure please?
>
>
> TIA
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to