I am starting up Xwiki 6.4.2 in JBoss EAP 6.3 (running jdk1.7.0_51_x64).
During startup I get below stacktrace in the server.log. I grepped through
all jar files in the WEB-INF/lib directory but cannot find a class by that
name. Infact, sisu-guice-3.2.4-no_aop.jar contains the com.google.inject
package, but only the subpackages binder, internal, matcher, name, spi and
util. The "servlet" subpackage is absent but appears to be required.
The application doesn't complain any further. It creates its database
tables and I can launch the Distribution Wizard (though that gives me a
different kind of issue as per my other mail).
What can I do to make my Xwiki install happy?
2015-03-12 18:56:21,287 -0500 WARN [org.jboss.modules] (ServerService
Thread Pool -- 61) Failed to define class
org.eclipse.sisu.inject.DefaultRankingFunction$ServletVisitor
in Module "deployment.xwiki.war:main" from Service Module Loader:
java.lang.LinkageError: Failed to link
org/eclipse/sisu/inject/DefaultRankingFunction$ServletVisitor (Module
"deployment.xwiki.war:main" from Service Module Loader)
at
org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:487)
[jboss-modules.jar:1.3.3.Final-redhat-1]
at
org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:277)
[jboss-modules.jar:1.3.3.Final-redhat-1]
at
org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:92)
[jboss-modules.jar:1.3.3.Final-redhat-1]
at org.jboss.modules.Module.loadModuleClass(Module.java:568)
[jboss-modules.jar:1.3.3.Final-redhat-1]
at
org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:205)
[jboss-modules.jar:1.3.3.Final-redhat-1]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459)
[jboss-modules.jar:1.3.3.Final-redhat-1]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:408)
[jboss-modules.jar:1.3.3.Final-redhat-1]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:389)
[jboss-modules.jar:1.3.3.Final-redhat-1]
at
org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:134)
[jboss-modules.jar:1.3.3.Final-redhat-1]
at
org.eclipse.sisu.inject.DefaultRankingFunction.<clinit>(DefaultRankingFunction.java:40)
[org.eclipse.sisu.inject-0.2.1.jar:]
at
org.codehaus.plexus.DefaultPlexusContainer$DefaultsModule.configure(DefaultPlexusContainer.java:856)
[org.eclipse.sisu.plexus-0.2.1.jar:]
at
com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:253)
[sisu-guice-3.2.4-no_aop.jar:3.2.4]
at com.google.inject.spi.Elements.getElements(Elements.java:108)
[sisu-guice-3.2.4-no_aop.jar:3.2.4]
at com.google.inject.spi.Elements.getElements(Elements.java:99)
[sisu-guice-3.2.4-no_aop.jar:3.2.4]
at org.eclipse.sisu.wire.WireModule.configure(WireModule.java:75)
[org.eclipse.sisu.inject-0.2.1.jar:]
at
com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:253)
[sisu-guice-3.2.4-no_aop.jar:3.2.4]
at com.google.inject.spi.Elements.getElements(Elements.java:108)
[sisu-guice-3.2.4-no_aop.jar:3.2.4]
at
com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:135)
[sisu-guice-3.2.4-no_aop.jar:3.2.4]
at
com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:104)
[sisu-guice-3.2.4-no_aop.jar:3.2.4]
at com.google.inject.Guice.createInjector(Guice.java:96)
[sisu-guice-3.2.4-no_aop.jar:3.2.4]
at com.google.inject.Guice.createInjector(Guice.java:73)
[sisu-guice-3.2.4-no_aop.jar:3.2.4]
at com.google.inject.Guice.createInjector(Guice.java:62)
[sisu-guice-3.2.4-no_aop.jar:3.2.4]
at
org.codehaus.plexus.DefaultPlexusContainer.addPlexusInjector(DefaultPlexusContainer.java:479)
[org.eclipse.sisu.plexus-0.2.1.jar:]
at
org.codehaus.plexus.DefaultPlexusContainer.<init>(DefaultPlexusContainer.java:205)
[org.eclipse.sisu.plexus-0.2.1.jar:]
at
org.codehaus.plexus.DefaultPlexusContainer.<init>(DefaultPlexusContainer.java:168)
[org.eclipse.sisu.plexus-0.2.1.jar:]
at
org.xwiki.extension.repository.aether.internal.components.PlexusContainerProvider.initialize(PlexusContainerProvider.java:63)
[xwiki-commons-extension-repository-ma
ven-6.4.2.jar:]
at
org.xwiki.component.embed.InitializableLifecycleHandler.handle(InitializableLifecycleHandler.java:39)
[xwiki-commons-legacy-component-default-6.4.2.jar:]
at
org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:355)
[xwiki-commons-legacy-component-default-6.4.2.jar:]
at
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:410)
[xwiki-commons-legacy-component-default-6.4.2.jar:]
at
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:378)
[xwiki-commons-legacy-component-default-6.4.2.jar:]
at
org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:190)
[xwiki-commons-legacy-component-default-6.4.2.jar:]
at
org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:334)
[xwiki-commons-legacy-component-default-6.4.2.jar:]
at
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:410)
[xwiki-commons-legacy-component-default-6.4.2.jar:]
at
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:378)
[xwiki-commons-legacy-component-default-6.4.2.jar:]
at
org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:190)
[xwiki-commons-legacy-component-default-6.4.2.jar:]
at
org.xwiki.extension.repository.internal.DefaultExtensionRepositoryManager.addRepository(DefaultExtensionRepositoryManager.java:125)
[xwiki-commons-extension-api-6.4.2.jar:]
at
org.xwiki.extension.repository.internal.DefaultExtensionRepositoryManager.initialize(DefaultExtensionRepositoryManager.java:103)
[xwiki-commons-extension-api-6.4.2.jar:]
at
org.xwiki.component.embed.InitializableLifecycleHandler.handle(InitializableLifecycleHandler.java:39)
[xwiki-commons-legacy-component-default-6.4.2.jar:]
at
org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:355)
[xwiki-commons-legacy-component-default-6.4.2.jar:]
at
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:410)
[xwiki-commons-legacy-component-default-6.4.2.jar:]
at
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:378)
[xwiki-commons-legacy-component-default-6.4.2.jar:]
at
org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:190)
[xwiki-commons-legacy-component-default-6.4.2.jar:]
at
org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:344)
[xwiki-commons-legacy-component-default-6.4.2.jar:]
at
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:410)
[xwiki-commons-legacy-component-default-6.4.2.jar:]
at
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:378)
[xwiki-commons-legacy-component-default-6.4.2.jar:]
at
org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:190)
[xwiki-commons-legacy-component-default-6.4.2.jar:]
at
org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:344)
[xwiki-commons-legacy-component-default-6.4.2.jar:]
at
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:410)
[xwiki-commons-legacy-component-default-6.4.2.jar:]
at
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:378)
[xwiki-commons-legacy-component-default-6.4.2.jar:]
at
org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:190)
[xwiki-commons-legacy-component-default-6.4.2.jar:]
at
org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:344)
[xwiki-commons-legacy-component-default-6.4.2.jar:]
at
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:410)
[xwiki-commons-legacy-component-default-6.4.2.jar:]
at
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:378)
[xwiki-commons-legacy-component-default-6.4.2.jar:]
at
org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:190)
[xwiki-commons-legacy-component-default-6.4.2.jar:]
at
org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:344)
[xwiki-commons-legacy-component-default-6.4.2.jar:]
at
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:410)
[xwiki-commons-legacy-component-default-6.4.2.jar:]
at
org.xwiki.component.embed.EmbeddableComponentManager.getInstanceMap(EmbeddableComponentManager.java:214)
[xwiki-commons-legacy-component-default-6.4.2.jar:]
at
org.xwiki.component.embed.EmbeddableComponentManager.getInstanceList(EmbeddableComponentManager.java:198)
[xwiki-commons-legacy-component-default-6.4.2.jar:]
at
org.xwiki.observation.internal.DefaultObservationManager.initializeListeners(DefaultObservationManager.java:164)
[xwiki-commons-observation-local-6.4.2.jar:]
at
org.xwiki.observation.internal.DefaultObservationManager.getListenersByEvent(DefaultObservationManager.java:131)
[xwiki-commons-observation-local-6.4.2.jar:]
at
org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:267)
[xwiki-commons-observation-local-6.4.2.jar:]
at
org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:321)
[xwiki-commons-observation-local-6.4.2.jar:]
at
org.xwiki.container.servlet.XWikiServletContextListener.contextInitialized(XWikiServletContextListener.java:118)
[xwiki-platform-container-servlet-6.4.2.jar:]
at
org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3339)
[jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3777)
[jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]
at
org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:161)
[jboss-as-web-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]
at
org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:59)
[jboss-as-web-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]
at
org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:94)
[jboss-as-web-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
[rt.jar:1.7.0_51]
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
[rt.jar:1.7.0_51]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[rt.jar:1.7.0_51]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[rt.jar:1.7.0_51]
at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_51]
at org.jboss.threads.JBossThread.run(JBossThread.java:122)
Caused by: java.lang.NoClassDefFoundError:
com/google/inject/servlet/ServletModuleTargetVisitor
at java.lang.ClassLoader.defineClass1(Native Method)
[rt.jar:1.7.0_51]
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
[rt.jar:1.7.0_51]
at
org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:361)
[jboss-modules.jar:1.3.3.Final-redhat-1]
at
org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:482)
[jboss-modules.jar:1.3.3.Final-redhat-1]
... 73 more
Caused by: java.lang.ClassNotFoundException:
com.google.inject.servlet.ServletModuleTargetVisitor from [Module
"deployment.xwiki.war:main" from Service Module Loader]
at
org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:213)
[jboss-modules.jar:1.3.3.Final-redhat-1]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459)
[jboss-modules.jar:1.3.3.Final-redhat-1]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:408)
[jboss-modules.jar:1.3.3.Final-redhat-1]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:389)
[jboss-modules.jar:1.3.3.Final-redhat-1]
at
org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:134)
[jboss-modules.jar:1.3.3.Final-redhat-1]
... 77 more
Show replies by date