I get the following error when trying to run geoserver using maven, i.e. mvn
jetty:run. However, I was able to complile and build geoserver using maven,
i.e. using mvn compile and mvn install successfully. Please help.
Thanks
Arif
31 [CONFIG] org.vfny.geoserver.global.xml.XMLConfigReader - Loaded style
raster
2008-01-07 18:09:16.968::WARN: failed jsp
2008-01-07 18:09:16.968::WARN: failed
ContextHandler@anonymised.com{/geoserver,file:/D
:/1.5.x/geoserver/web/src/main/webapp/}
2008-01-07 18:09:16.968::WARN: failed ContextHandlerCollection@anonymised.com
2008-01-07 18:09:16.968::WARN: failed HandlerCollection@anonymised.com
2008-01-07 18:09:17.015::INFO: Started SelectChannelConnector @
0.0.0.0:8080
2008-01-07 18:09:17.015::WARN: failed Server@anonymised.com
[INFO] Jetty server exiting.
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] javax/servlet/jsp/JspFactory
[INFO]
------------------------------------------------------------------------
[INFO] Trace
java.lang.NoClassDefFoundError: javax/servlet/jsp/JspFactory
at org.apache.jasper.servlet.JspServlet.init(JspServlet.java:118)
at
org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.jav
a:400)
at
org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:25
4)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
38)
at
org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.ja
va:569)
at
org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.jav
a:1133)
at
org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:
420)
at
org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:457
)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
38)
at
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection
.java:156)
at
org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHan
dlerCollection.java:120)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
38)
at
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection
.java:156)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
38)
at
org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:
119)
at org.mortbay.jetty.Server.doStart(Server.java:210)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
38)
at
org.mortbay.jetty.plugin.Jetty6PluginServer.start(Jetty6PluginServer.
java:134)
at
org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMo
jo.java:327)
at
org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.
java:272)
at
org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute(AbstractJettyRu
nMojo.java:177)
at
org.mortbay.jetty.plugin.Jetty6RunMojo.execute(Jetty6RunMojo.java:183
)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:447)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:539)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone
Goal(DefaultLifecycleExecutor.java:493)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:463)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:311)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:278)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:143)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
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)
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 3 minutes 56 seconds
[INFO] Finished at: Mon Jan 07 18:09:17 GMT 2008
[INFO] Final Memory: 14M/26M
[INFO]
------------------------------------------------------------------------
2008-01-07 18:09:17.250::INFO: Shutdown hook executing
2008-01-07 18:09:17.250::INFO: Shutdown hook complete
--
View this message in context: http://www.nabble.com/problem-running-geoserver-using-maven-tp14673295p14673295.html
Sent from the GeoServer - Dev mailing list archive at Nabble.com.