Caused by: java.lang.NoClassDefFoundError: Failed to link com/codahale/metrics/jetty9/InstrumentedHandler 

You need to add this class in the classloader, 

You can create a module and specify it in the jboss-deployment-structure.xml file or add this jar in you .war file.



2017-12-08 12:40 GMT-02:00 Rogério Luciano Santos <br.roglusa@gmail.com>:

Hello.

Does anyone know XWIKI? i Want deply  the xwiki war in WildFly 10 by  a error occurs:

Cannot upload deployment: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"xwiki-9.10.1.war\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"xwiki-9.10.1.war\".POST_MODULE: WFLYSRV0153: Failed to process phase POST_MODULE of deployment \"xwiki-9.10.1.war\" Caused by: java.lang.RuntimeException: WFLYSRV0177: Error getting reflective information for class com.codahale.metrics.jetty9.InstrumentedHandler$7 with ClassLoader ModuleClassLoader for Module \"deployment.xwiki-9.10.1.war:main\" from Service Module Loader Caused by: java.lang.NoClassDefFoundError: Failed to link com/codahale/metrics/jetty9/InstrumentedHandler (Module \"deployment.xwiki-9.10.1.war:main\" from Service Module Loader): org/eclipse/jetty/server/handler/HandlerWrapper"},"WFLYCTL0412: Required services that are not installed:" => ["jboss.deployment.unit.\"xwiki-9.10.1.war\".POST_MODULE"],"WFLYCTL0180: Services with missing/unavailable dependencies" => undefined}

This application run in a glassfish server




_______________________________________________
wildfly-dev mailing list
wildfly-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/wildfly-dev



--
Regards,
--Filippe