geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prasad Kashyap" <goyathlay.geron...@gmail.com>
Subject Re: java.lang.ClassNotFoundException: org.apache.jasper.servlet.JspServlet in Plugin Installer
Date Wed, 16 May 2007 15:50:53 GMT
Jason,

Try adding a jasper dependency to configs\ldap-demo-jetty\pom.xml

See configs\welcome-jetty\pom.xml for an example

Cheers
Prasad



On 5/16/07, Jason Warner <jaw981@gmail.com> wrote:
> In working with the plugin installer using revision 538442, I came across a
> java.lang.ClassNotFoundException:
> org.apache.jasper.servlet.JspServlet error when trying to
> start both the LDAP and the Jakarta servlet examples running on top of
> Jetty.  Has anyone seen this or know what could have caused it?  It's a
> rather long stack trace so I'll just include the beginning unless someone
> requests otherwise.
>
> 09:14:12,221 WARN  [log] EXCEPTION
> java.lang.ClassNotFoundException:
> org.apache.jasper.servlet.JspServlet in classloader
> org.apache.geronimo.configs/ldap-demo-jetty/2.0-SNAPSHOT/car
>     at
> org.apache.geronimo.kernel.config.MultiParentClassLoader.loadOptimizedClass
> (MultiParentClassLoader.java:428)
>     at
> org.apache.geronimo.kernel.config.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:278)
>     at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>     at org.mortbay.util.Loader.loadClass (Loader.java:91)
>     at org.mortbay.util.Loader.loadClass(Loader.java:71)
>     at
> org.mortbay.jetty.servlet.Holder.doStart(Holder.java:73)
>     at
> org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:233)
>     at
> org.apache.geronimo.jetty6.InternalJettyServletHolder.internalDoStart(InternalJettyServletHolder.java:119)
>     at
> org.apache.geronimo.jetty6.InternalJettyServletHolder.access$000(InternalJettyServletHolder.java
> :38)
>     at
> org.apache.geronimo.jetty6.InternalJettyServletHolder$StartCommand.lifecycleMethod(InternalJettyServletHolder.java:130)
>     at
> org.apache.geronimo.jetty6.handler.AbstractImmutableHandler.lifecycleCommand
> (AbstractImmutableHandler.java:54)
>     at
> org.apache.geronimo.jetty6.handler.ThreadClassloaderHandler.lifecycleCommand(ThreadClassloaderHandler.java:57)
>     at
> org.apache.geronimo.jetty6.handler.AbstractImmutableHandler.lifecycleCommand
> (AbstractImmutableHandler.java:52)
>     at
> org.apache.geronimo.jetty6.handler.InstanceContextHandler.lifecycleCommand(InstanceContextHandler.java:81)
>     at
> org.apache.geronimo.jetty6.handler.AbstractImmutableHandler.lifecycleCommand
> (AbstractImmutableHandler.java:52)
>     at
> org.apache.geronimo.jetty6.handler.UserTransactionHandler.lifecycleCommand(UserTransactionHandler.java:63)
>     at
> org.apache.geronimo.jetty6.handler.AbstractImmutableHandler.lifecycleCommand
> (AbstractImmutableHandler.java:52)
>     at
> org.apache.geronimo.jetty6.handler.ComponentContextHandler.lifecycleCommand(ComponentContextHandler.java:57)
>     at
> org.apache.geronimo.jetty6.InternalJettyServletHolder.doStart
> (InternalJettyServletHolder.java:106)
>     at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
>     at
> org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:617)
>     at
> org.mortbay.jetty.servlet.ServletHandler.updateMappings
> (ServletHandler.java:985)
>     at
> org.mortbay.jetty.servlet.ServletHandler.setServletMappings(ServletHandler.java:1042)
>     at
> org.mortbay.jetty.servlet.ServletHandler.addServletMapping(ServletHandler.java:741)
>     at
> org.apache.geronimo.jetty6.JettyWebAppContext.registerServletHolder(JettyWebAppContext.java:519)
>     at
> org.apache.geronimo.jetty6.JettyWebAppContext$$FastClassByCGLIB$$b89caf9a.invoke(<generated>)
>
> Thanks,
>
> Jason Warner
>

Mime
View raw message