Hi,
The documentation was outdated: the last version of M2Eclipse WTP
support does not enable Maven Dependencies by default, you have to do
that by hand.
I just updated the tutorial on
On Wed, Nov 26, 2008 at 6:52 PM, Juergen Lorenz Simon <simon(a)webtecc.com> wrote:
Hi,
I'm trying to develop plugins for XWiki using Eclipse 3.4. I went
through the process outlined in
the developer wiki twice and can not get the project to start up. (xe-
debug-web). When I start
the web project in Tomcat 6, I get hit by this exception:
Nov 26, 2008 6:47:52 PM
org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context}
Setting property 'source' to 'org.eclipse.jst.jee.server:xe-debug-web'
did not find a matching property.
Nov 26, 2008 6:47:52 PM org.apache.catalina.core.AprLifecycleListener
init
INFO: The APR based Apache Tomcat Native library which allows optimal
performance in production environments was not found on the
java.library.path: .:/Users/simon/Library/Java/Extensions:/Library/
Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
Nov 26, 2008 6:47:52 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Nov 26, 2008 6:47:52 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 633 ms
Nov 26, 2008 6:47:52 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Nov 26, 2008 6:47:52 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
Nov 26, 2008 6:47:52 PM org.apache.catalina.core.StandardContext
listenerStart
SEVERE: Error configuring application listener of class
org.xwiki.container.servlet.XWikiPlexusServletContextListener
java.lang.ClassNotFoundException:
org.xwiki.container.servlet.XWikiPlexusServletContextListener
at
org
.apache
.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:
1387)
at
org
.apache
.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:
1233)
at
org
.apache
.catalina.core.StandardContext.listenerStart(StandardContext.java:3786)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:
4342)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:
1045)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:
1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:
443)
at
org.apache.catalina.core.StandardService.start(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:
710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun
.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
at
sun
.reflect
.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Nov 26, 2008 6:47:52 PM org.apache.catalina.core.StandardContext
listenerStart
SEVERE: Skipped installing application listeners due to previous
error(s)
Nov 26, 2008 6:47:52 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Nov 26, 2008 6:47:52 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/xe-debug-web] startup failed due to previous errors
Nov 26, 2008 6:47:52 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Nov 26, 2008 6:47:53 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Nov 26, 2008 6:47:53 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/37 config=null
Nov 26, 2008 6:47:53 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 1003 ms
I took extra care the second time round to ensure I followed the
instructions to the letter. I noticed again that
the WEB-INF/lib directory is EMPTY. I assumed that Maven should
download and install the required jarfiles
there? Am I missing something?
Cheers,
J.L.Simon
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs