eclipse - Can't deploy a jar on Jboss EAP6 with error java.lang.NoClassDefFoundError -
i try deploy maven projet (jar) on jboss eap6 @ every time gives me errors bellow:
`17:55:58,212 error [org.jboss.msc.service.fail] (msc service thread 1-2) msc000001: failed start service jboss.deployment.subunit."services-1.0.0.ear"."services-trans-1.0.1.jar".post_module: org.jboss.msc.service.startexception in service jboss.deployment.subunit."services-1.0.0.ear"."services-tran-1.0.1.jar".post_module: jbas018733: n'a pas pu traiter la phase post_module de subdeployment "services-tran-1.0.1.jar" of deployment "services-1.0.0.ear" @ org.jboss.as.server.deployment.deploymentunitphaseservice.start(deploymentunitphaseservice.java:166) [jboss-as-server-7.4.0.final-redhat-19.jar:7.4.0.final-redhat-19] @ org.jboss.msc.service.servicecontrollerimpl$starttask.startservice(servicecontrollerimpl.java:1980) [jboss-msc-1.1.5.final-redhat-1.jar:1.1.5.final-redhat-1] @ org.jboss.msc.service.servicecontrollerimpl$starttask.run(servicecontrollerimpl.java:1913) [jboss-msc-1.1.5.final-redhat-1.jar:1.1.5.final-redhat-1] @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1145) [rt.jar:1.7.0_51] @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:615) [rt.jar:1.7.0_51] @ java.lang.thread.run(thread.java:744) [rt.jar:1.7.0_51]` `caused by: java.lang.runtimeexception: jbas018757: erreur d'obtention d'informations réflectives pour class services.tran.impl.brtranfactory pour le classloader (chargeur de classe) moduleclassloader module "deployment.services-1.0.0.ear.services-tran-1.0.1.jar:main" service module loader @ org.jboss.as.server.deployment.reflect.deploymentreflectionindex.getclassindex(deploymentreflectionindex.java:72) [jboss-as-server-7.4.0.final-redhat-19.jar:7.4.0.final-redhat-19] @ org.jboss.as.ee.metadata.methodannotationaggregator.runtimeannotationinformation(methodannotationaggregator.java:58) @ org.jboss.as.ee.component.deployers.interceptorannotationprocessor.handleannotations(interceptorannotationprocessor.java:107) @ org.jboss.as.ee.component.deployers.interceptorannotationprocessor.processcomponentconfig(interceptorannotationprocessor.java:92) @ org.jboss.as.ee.component.deployers.interceptorannotationprocessor.deploy(interceptorannotationprocessor.java:77) @ org.jboss.as.server.deployment.deploymentunitphaseservice.start(deploymentunitphaseservice.java:159) [jboss-as-server-7.4.0.final-redhat-19.jar:7.4.0.final-redhat-19]` `caused by: java.lang.noclassdeffounderror: linterfaces/br/locals/ibrfactorylocal; @ java.lang.class.getdeclaredfields0(native method) [rt.jar:1.7.0_51] @ java.lang.class.privategetdeclaredfields(class.java:2397) [rt.jar:1.7.0_51] @ java.lang.class.getdeclaredfields(class.java:1806) [rt.jar:1.7.0_51] @ org.jboss.as.server.deployment.reflect.classreflectionindex.<init>(classreflectionindex.java:57) [jboss-as-server-7.4.0.final-redhat-19.jar:7.4.0.final-redhat-19] @ org.jboss.as.server.deployment.reflect.deploymentreflectionindex.getclassindex(deploymentreflectionindex.java:68) [jboss-as-server-7.4.0.final-redhat-19.jar:7.4.0.final-redhat-19]`
i have 3 projects .jar included in ear project found 1 of these projects not deploy alone on server jboss , other projects depend on there, that gives error message.
Comments
Post a Comment