Hello,
I try to use this program to convert JSPWiki pages to xWiki page :
http://extensions.xwiki.org/xwiki/bin/view/Extension/JSPWiki+To+XWiki+Conve…
But I encounter many issues :
- I can't instantiate XWikiContext class, but the usage of EmbeddableComponentManager
before the instantiation corrects this problem
- The com.xpn.xwiki.XWiki class instantiation gave me these following exceptions :
Caused by: java.lang.RuntimeException: Failed to load component
[com.xpn.xwiki.store.XWikiStoreInterface] for hint [null]
at com.xpn.xwiki.web.Utils.getComponent(Utils.java:651)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:775)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:723)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:717)
... 1 more
Caused by: org.xwiki.component.manager.ComponentLookupException: Failed to lookup
component [role = [com.xpn.xwiki.store.XWikiStoreInterface] hint = [default]]
at
org.xwiki.component.embed.EmbeddableComponentManager.initialize(EmbeddableComponentManager.java:368)
at
org.xwiki.component.embed.EmbeddableComponentManager.lookup(EmbeddableComponentManager.java:126)
at com.xpn.xwiki.web.Utils.getComponent(Utils.java:649)
... 5 more
Caused by: org.xwiki.component.manager.ComponentLookupException: Failed to lookup
component [role = [org.xwiki.query.QueryManager] hint = [default]]
at
org.xwiki.component.embed.EmbeddableComponentManager.initialize(EmbeddableComponentManager.java:368)
at
org.xwiki.component.embed.EmbeddableComponentManager.lookup(EmbeddableComponentManager.java:126)
at
org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:403)
at
org.xwiki.component.embed.EmbeddableComponentManager.initialize(EmbeddableComponentManager.java:361)
... 7 more
Caused by: org.xwiki.component.manager.ComponentLookupException: Failed to lookup
component [role = [org.xwiki.query.QueryExecutorManager] hint = [default]]
at
org.xwiki.component.embed.EmbeddableComponentManager.initialize(EmbeddableComponentManager.java:368)
at
org.xwiki.component.embed.EmbeddableComponentManager.lookup(EmbeddableComponentManager.java:126)
at
org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:403)
at
org.xwiki.component.embed.EmbeddableComponentManager.initialize(EmbeddableComponentManager.java:361)
... 10 more
Caused by: java.lang.NullPointerException
at
org.xwiki.component.embed.EmbeddableComponentManager.lookupMap(EmbeddableComponentManager.java:167)
at
org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:401)
at
org.xwiki.component.embed.EmbeddableComponentManager.initialize(EmbeddableComponentManager.java:361)
... 13 more
I tried to add xwiki and hibernate configuration files to the classpath but it still
crash.
Should I use another ComponentManager ? Do you know another way to launch a standalone
version of xWiki runtime ?
Regards,
François B.
This message contains information that may be privileged or confidential and is the
property of the Capgemini Group. It is intended only for the person to whom it is
addressed. If you are not the intended recipient, you are not authorized to read, print,
retain, copy, disseminate, distribute, or use this message or any part thereof. If you
receive this message in error, please notify the sender immediately and delete all copies
of this message.