geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Warner" <jaw...@gmail.com>
Subject Re: java.lang.ClassNotFoundException: org.apache.jasper.servlet.JspServlet in Plugin Installer
Date Wed, 16 May 2007 18:16:40 GMT
That fixes that.  Everything is running fine in regards to the pom's.
Thanks for the help!

Jason Warner

On 5/16/07, Prasad Kashyap <goyathlay.geronimo@gmail.com> wrote:
>
> There's been a conflict between your version of the pom.xml and the
> one in the svn repo.
>
> You may delete all pom.xmls in that directory and do a fresh 'svn up'
> just in that directory. It will restore the latest version of the file
> for you.
>
> Cheers
> Prasad
>
> On 5/16/07, Jason Warner <jaw981@gmail.com> wrote:
> > I'm not altogether familiar with any special syntax used when commiting
> > files, but there are a couple things showing up in the pom.xml for
> > ldap-demo-jetty that are causing issues.
> >
> > On line 60:
> >
> > <<<<<<< .mine
> >
> > On line 74:
> >
> > =======
> >
> > and on line 89:
> >
> > >>>>>>> .r538666
> >
> > The end result is the following error while building:
> >
> > Project ID: unknown
> > POM Location: C:\g\trunk\configs\ldap-demo-jetty\pom.xml
> >
> > Reason: Parse error reading POM. Reason: unexpected character in markup
> <
> > (posit
> > ion: END_TAG seen ...</dependency>\r\n<<... @60:3)
> >
> >
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Trace
> > org.apache.maven.reactor.MavenExecutionException: Parse
> > error reading POM. Reaso
> > n: unexpected character in markup < (position: END_TAG seen
> > ...</dependency>\r\n
> > <<... @60:3)
> >         at
> > org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:373)
> >         at
> > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:286)
> >         at
> > org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
> >         at
> > org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
> >         at
> > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >         at
> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> > java:39)
> >         at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> > sorImpl.java:25)
> >         at java.lang.reflect.Method.invoke(Method.java:585)
> >         at org.codehaus.classworlds.Launcher.launchEnhanced
> > (Launcher.java:315)
> >         at
> > org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> >         at
> > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> >
> >         at org.codehaus.classworlds.Launcher.main
> > (Launcher.java:375)
> > Caused by:
> > org.apache.maven.project.InvalidProjectModelException:
> > Parse error re
> > ading POM. Reason: unexpected character in markup < (position: END_TAG
> seen
> > ...<
> > /dependency>\r\n<<... @60:3)
> >         at
> > org.apache.maven.project.DefaultMavenProjectBuilder.readModel(Default
> > MavenProjectBuilder.java:1349)
> >         at
> > org.apache.maven.project.DefaultMavenProjectBuilder.readModel(Default
> > MavenProjectBuilder.java :1309)
> >         at
> > org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFi
> > leInternal(DefaultMavenProjectBuilder.java:429)
> >         at
> > org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMave
> > nProjectBuilder.java:195)
> >         at
> > org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:523)
> >         at
> > org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:455)
> >         at org.apache.maven.DefaultMaven.collectProjects
> > (DefaultMaven.java:499)
> >         at
> > org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:499)
> >         at
> > org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:359)
> >         ... 11 more
> > Caused by:
> > org.codehaus.plexus.util.xml.pull.XmlPullParserException:
> > unexpected
> > character in markup < (position: END_TAG seen ...</dependency>\r\n<<...
> > @60:3)
> >         at
> > org.codehaus.plexus.util.xml.pull.MXParser.nextImpl
> > (MXParser.java:125
> > 8)
> >         at
> > org.codehaus.plexus.util.xml.pull.MXParser.next(MXParser.java:1090)
> >         at
> > org.codehaus.plexus.util.xml.pull.MXParser.nextTag(MXParser.java:1075
> > )
> >         at
> > org.apache.maven.model.io.xpp3.MavenXpp3Reader.parseModel
> > (MavenXpp3Re
> > ader.java:2319)
> >         at
> > org.apache.maven.model.io.xpp3.MavenXpp3Reader.read(MavenXpp3Reader.j
> > ava:4422)
> >         at
> > org.apache.maven.project.DefaultMavenProjectBuilder.readModel(Default
> > MavenProjectBuilder.java :1345)
> >         ... 19 more
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 13 seconds
> > [INFO] Finished at: Wed May 16 14:02:08 EDT 2007
> > [INFO] Final Memory: 25M/46M
> > [INFO]
> > ------------------------------------------------------------------------
> >
> >
> > Thanks,
> >
> > Jason Warner
> >
> > On 5/16/07, Prasad Kashyap < goyathlay.geronimo@gmail.com> wrote:
> > > Fixed @ Revision 538661.
> > >
> > > Please give it a spin.
> > >
> > > Cheers
> > > Prasad
> > >
> > > On 5/16/07, Jason Warner <jaw981@gmail.com> wrote:
> > > > Excellent.  Could I trouble you to fix the pom for servlet-examples?
> It
> > > > suffers from the same error.
> > > >
> > > >
> > > > On 5/16/07, Prasad Kashyap < goyathlay.geronimo@gmail.com> wrote:
> > > > > Fixed the poms  @ Revision: 538652
> > > > >
> > > > > Modified:
> > > > >
> > geronimo/server/trunk/configs/ldap-demo-jetty/pom.xml
> > > > >
> > geronimo/server/trunk/configs/ldap-demo-tomcat/pom.xml
> > > > >
> > > > > Cheers
> > > > > Prasad.
> > > > >
> > > > > On 5/16/07, Jason Warner < jaw981@gmail.com> wrote:
> > > > > > Prasad,
> > > > > >
> > > > > >  That worked.  Shouldn't that be in the pom.xml when the plugin
> is
> > > > pulled
> > > > > > down in the first place to prevent the user from having to make
> that
> > > > change
> > > > > > themself?  I didn't have this problem in an earlier
> revision.  Have
> > the
> > > > > > dependencies changed recently?
> > > > > >
> > > > > > Jason,
> > > > > >
> > > > > > I've been called Jason all my life.  There's not much I can
do
> about
> > it
> > > > now
> > > > > > ; )
> > > > > >
> > > > > > Thanks,
> > > > > >
> > > > > > Jason Warner
> > > > > >
> > > > > >
> > > > > >  On 5/16/07, Prasad Kashyap <goyathlay.geronimo@gmail.com>
> wrote:
> > > > > > > The "Davids" decided they didn't want to be uniquely many
> > (oxymoron ?)
> > > > > > >
> > > > > > > So we have now begun adding "Jasons" :-)
> > > > > > >
> > > > > > > Cheers
> > > > > > > Prasad.
> > > > > > >
> > > > > > >
> > > > > > > On 5/16/07, Jason Dillon < jason@planet57.com> wrote:
> > > > > > > > Jason?  I thought you were talking to me?
> > > > > > > >
> > > > > > > > Damn... we can have only *one Jason*... and he is
me... all
> > others
> > > > > > > > are sub-Jason... or something :-P
> > > > > > > >
> > > > > > > > --jason
> > > > > > > >
> > > > > > > >
> > > > > > > > On May 16, 2007, at 8:50 AM, Prasad Kashyap wrote:
> > > > > > > >
> > > > > > > > > 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.loadOptimize
> > > > > > > > >> dClass
> > > > > > > > >> (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.lifecycle
> > > > > > > > >> Command
> > > > > > > > >> (AbstractImmutableHandler.java:54)
> > > > > > > > >>     at
> > > > > > > > >>
> > > > > >
> > > >
> > org.apache.geronimo.jetty6.handler.ThreadClassloaderHandler.lifecycle
> > > > > > > > >> Command(ThreadClassloaderHandler.java:57)
> > > > > > > > >>     at
> > > > > > > > >>
> > > > > >
> > > >
> > org.apache.geronimo.jetty6.handler.AbstractImmutableHandler.lifecycle
> > > > > > > > >> Command
> > > > > > > > >> (AbstractImmutableHandler.java :52)
> > > > > > > > >>     at
> > > > > > > > >>
> > > > > >
> > > >
> > org.apache.geronimo.jetty6.handler.InstanceContextHandler.lifecycleCo
> > > > > > > > >> mmand( InstanceContextHandler.java :81)
> > > > > > > > >>     at
> > > > > > > > >>
> > > > > >
> > > >
> > org.apache.geronimo.jetty6.handler.AbstractImmutableHandler.lifecycle
> > > > > > > > >> Command
> > > > > > > > >> (AbstractImmutableHandler.java:52)
> > > > > > > > >>     at
> > > > > > > > >>
> > > > > >
> > > >
> > org.apache.geronimo.jetty6.handler.UserTransactionHandler.lifecycleCo
> > > > > > > > >> mmand( UserTransactionHandler.java:63)
> > > > > > > > >>     at
> > > > > > > > >>
> > > > > >
> > > >
> > org.apache.geronimo.jetty6.handler.AbstractImmutableHandler.lifecycle
> > > > > > > > >> Command
> > > > > > > > >> ( AbstractImmutableHandler.java:52)
> > > > > > > > >>     at
> > > > > > > > >>
> > > > > >
> > > >
> > org.apache.geronimo.jetty6.handler.ComponentContextHandler.lifecycleC
> > > > > > > > >> ommand(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