Hi,

I'm attempting to develop a couple of plugins to integrate XWiki into  
a portal solution.
Unfortunately I'm having problems getting a debug session going in  
Eclipse. I followed
the instructions in the XWiki dev wiki to the letter, with the small  
change of going from
1.6 (as stated in the wiki examples) to 1.7, which seems to be the  
latest snapshot. Also
I'm using Tomcat 6.

I get the following exception when attempting to run the app on the  
server:

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: 
1360)
        at  
org 
.apache 
.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java: 
1206)
        at  
org 
.apache 
.catalina.core.StandardContext.listenerStart(StandardContext.java:3786)
        at  
org.apache.catalina.core.StandardContext.start(StandardContext.java: 
4350)
        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)

I also noticed that the tmp0/wtpapps/xe-debug-web/WEB-INF/lib  
directory only contains the plugin code.
All other dependencies are not pulled in. That does not seem right.

I'm using Eclipse 3.4, M2Eclipse 0.9.6 and Tomcat 6.

Here is the xe-debug-web's pom file:







_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to