[xwiki-devs] [GSOC] [WEBDAV] Issue running the prototype
I've followed the instructions on the readme and try to connect to http://localhost:8080/xwiki-webdav/root/ When I try to launch the wiki using a web browser I get this error: http://127.0.0.1:8080/xwiki-webdav/ or http://localhost:8080/xwiki-webdav/bin/view/Main/ Caused by: java.lang.ClassCastException: org.apache.maven.plugin.MavenPluginDiscoverer at org.codehaus.plexus.component.discovery.DefaultComponentDiscovererManager.initialize(DefaultComponentDiscovererManager.java:94) at org.codehaus.plexus.container.initialization.InitializeComponentDiscovererManagerPhase.initializeCoreComponent(InitializeComponentDiscovererManagerPhase.java:36) at org.codehaus.plexus.container.initialization.AbstractCoreComponentInitializationPhase.execute(AbstractCoreComponentInitializationPhase.java:37) at org.codehaus.plexus.DefaultPlexusContainer.initializePhases(DefaultPlexusContainer.java:914) at org.codehaus.plexus.DefaultPlexusContainer.initialize(DefaultPlexusContainer.java:858) at org.codehaus.plexus.DefaultPlexusContainer.construct(DefaultPlexusContainer.java:834) at org.codehaus.plexus.DefaultPlexusContainer.(DefaultPlexusContainer.java:204) at com.xpn.xwiki.plugin.webdav.XWikiDavServlet.getComponentManager(XWikiDavServlet.java:279) -- Ludovic Dubost Blog: http://blog.ludovic.org/ XWiki: http://www.xwiki.com Skype: ldubost GTalk: ldubost
Hi Ludovic, 2008/7/13 Ludovic Dubost <[email protected]>:
I've followed the instructions on the readme and try to connect to
http://localhost:8080/xwiki-webdav/root/
When I try to launch the wiki using a web browser I get this error:
http://127.0.0.1:8080/xwiki-webdav/ or http://localhost:8080/xwiki-webdav/bin/view/Main/
Caused by:
java.lang.ClassCastException: org.apache.maven.plugin.MavenPluginDiscoverer at org.codehaus.plexus.component.discovery.DefaultComponentDiscovererManager.initialize(DefaultComponentDiscovererManager.java:94) at org.codehaus.plexus.container.initialization.InitializeComponentDiscovererManagerPhase.initializeCoreComponent(InitializeComponentDiscovererManagerPhase.java:36) at org.codehaus.plexus.container.initialization.AbstractCoreComponentInitializationPhase.execute(AbstractCoreComponentInitializationPhase.java:37) at org.codehaus.plexus.DefaultPlexusContainer.initializePhases(DefaultPlexusContainer.java:914) at org.codehaus.plexus.DefaultPlexusContainer.initialize(DefaultPlexusContainer.java:858) at org.codehaus.plexus.DefaultPlexusContainer.construct(DefaultPlexusContainer.java:834) at org.codehaus.plexus.DefaultPlexusContainer.(DefaultPlexusContainer.java:204) at com.xpn.xwiki.plugin.webdav.XWikiDavServlet.getComponentManager(XWikiDavServlet.java:279)
Which version of maven do you use ? Please try using apache-maven-2.1-SNAPSHOT, this is mentioned on the README file. I was tired of this exception for about a week or so until Thomas helped me out and pointed that it was maven :) Thanks. - Asiri
-- Ludovic Dubost Blog: http://blog.ludovic.org/ XWiki: http://www.xwiki.com Skype: ldubost GTalk: ldubost
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
Thanks this fixed it (with the maven 2.1 snapshot currently on xwiki.org) Ludovic Asiri Rathnayake wrote:
Which version of maven do you use ?
Please try using apache-maven-2.1-SNAPSHOT, this is mentioned on the README file.
I was tired of this exception for about a week or so until Thomas helped me out and pointed that it was maven :)
Thanks.
- Asiri
-- Ludovic Dubost Blog: http://blog.ludovic.org/ XWiki: http://www.xwiki.com Skype: ldubost GTalk: ldubost
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Ludovic Dubost Blog: http://blog.ludovic.org/ XWiki: http://www.xwiki.com Skype: ldubost GTalk: ldubost
participants (3)
-
Asiri Rathnayake -
Ludovic Dubost -
Ludovic Dubost