Na migração do Jboss 6.4 para Jboss 7.0 , esta gerando um erro ao subir o Jboss 7, não descobri o que pode ser … alguém tem alguma ideia ? segue o erro abaixo:
14:57:30,708 ERROR [-] [org.jboss.msc.service.fail] (ServerService Thread Pool -- 200) MSC000001: Failed to start service jboss.undertow.deployment.default-server.default-host./cpj2: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./cpj2: java.lang.NoClassDefFoundError: org/jboss/resteasy/core/ResourceMethod
at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:85)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
at org.jboss.threads.JBossThread.run(JBossThread.java:320)
Caused by: java.lang.NoClassDefFoundError: org/jboss/resteasy/core/ResourceMethod
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
at java.lang.Class.getDeclaredMethods(Unknown Source)
at org.jboss.resteasy.core.PropertyInjectorImpl.populateMap(PropertyInjectorImpl.java:73)
at org.jboss.resteasy.core.PropertyInjectorImpl.(PropertyInjectorImpl.java:54)
at org.jboss.resteasy.core.InjectorFactoryImpl.createPropertyInjector(InjectorFactoryImpl.java:65)
at org.jboss.resteasy.cdi.CdiInjectorFactory.createPropertyInjector(CdiInjectorFactory.java:113)
at org.jboss.resteasy.spi.ResteasyProviderFactory.injectedInstance(ResteasyProviderFactory.java:2308)
at org.jboss.resteasy.core.interception.JaxrsInterceptorRegistry$AbstractInterceptorFactory.createInterceptor(JaxrsInterceptorRegistry.java:170)
at org.jboss.resteasy.core.interception.JaxrsInterceptorRegistry$LegacyPerMethodInterceptorFactory.getInterceptor(JaxrsInterceptorRegistry.java:329)
at org.jboss.resteasy.core.interception.JaxrsInterceptorRegistry$AbstractLegacyInterceptorFactory.getLegacyMatch(JaxrsInterceptorRegistry.java:269)
at org.jboss.resteasy.core.interception.ContainerRequestFilterRegistry$1.postMatch(ContainerRequestFilterRegistry.java:67)
at org.jboss.resteasy.core.interception.JaxrsInterceptorRegistry.postMatch(JaxrsInterceptorRegistry.java:421)
at org.jboss.resteasy.core.interception.ContainerRequestFilterRegistry.postMatch(ContainerRequestFilterRegistry.java:57)
at org.jboss.resteasy.core.ResourceMethodInvoker.(ResourceMethodInvoker.java:105)
at org.jboss.resteasy.core.ResourceMethodRegistry.processMethod(ResourceMethodRegistry.java:281)
at org.jboss.resteasy.core.ResourceMethodRegistry.register(ResourceMethodRegistry.java:252)
at org.jboss.resteasy.core.ResourceMethodRegistry.addResourceFactory(ResourceMethodRegistry.java:222)
at org.jboss.resteasy.core.ResourceMethodRegistry.addResourceFactory(ResourceMethodRegistry.java:194)
at org.jboss.resteasy.core.ResourceMethodRegistry.addResourceFactory(ResourceMethodRegistry.java:180)
at org.jboss.resteasy.core.ResourceMethodRegistry.addResourceFactory(ResourceMethodRegistry.java:157)
at org.jboss.resteasy.core.ResourceMethodRegistry.addPerRequestResource(ResourceMethodRegistry.java:76)
at org.jboss.resteasy.spi.ResteasyDeployment.registration(ResteasyDeployment.java:409)
at org.jboss.resteasy.spi.ResteasyDeployment.start(ResteasyDeployment.java:250)
at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.init(ServletContainerDispatcher.java:113)
at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.init(HttpServletDispatcher.java:36)
at io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:117)
at org.wildfly.extension.undertow.security.RunAsLifecycleInterceptor.init(RunAsLifecycleInterceptor.java:78)
at io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:103)
at io.undertow.servlet.core.ManagedServlet$DefaultInstanceStrategy.start(ManagedServlet.java:239)
at io.undertow.servlet.core.ManagedServlet.createServlet(ManagedServlet.java:133)
at io.undertow.servlet.core.DeploymentManagerImpl.start(DeploymentManagerImpl.java:527)
at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:101)
at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:82)
… 6 more
Caused by: java.lang.ClassNotFoundException: org.jboss.resteasy.core.ResourceMethod from [Module “deployment.cpj2.war:main” from Service Module Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:198)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:363)
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:351)
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:93)
… 40 more
14:57:30,719 ERROR [-] [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Falha na operação (“deploy”) - endereço ([(“deployment” => “cpj2.war”)]) - falha na descrição: {“WFLYCTL0080: Falha de serviços” => {“jboss.undertow.deployment.default-server.default-host./cpj2” => “org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./cpj2: java.lang.NoClassDefFoundError: org/jboss/resteasy/core/ResourceMethod
Caused by: java.lang.NoClassDefFoundError: org/jboss/resteasy/core/ResourceMethod
Caused by: java.lang.ClassNotFoundException: org.jboss.resteasy.core.ResourceMethod from [Module “deployment.cpj2.war:main” from Service Module Loader]”}}
14:57:30,776 INFO [-] [org.jboss.as.server] (ServerService Thread Pool – 34) WFLYSRV0010: Implantado “cpj2.war” (runtime-name: “cpj2.war”)
14:57:30,782 INFO [-] [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Relatório
de status de serviço WFLYCTL0186: Serviços que falham na inicialização: service jboss.undertow.deployment.default-server.default-host./cpj2: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./cpj2: java.lang.NoClassDefFoundError: org/jboss/resteasy/core/ResourceMethod
14:57:31,199 INFO [-] [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: A interface do gerenciamento ouvindo no http://127.0.0.1:9990/management
14:57:31,200 INFO [-] [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: O console de administração ouvindo no http://127.0.0.1:9990
14:57:31,200 ERROR [-] [org.jboss.as] (Controller Boot Thread) WFLYSRV0026: JBoss EAP 7.0.7.GA (WildFly Core 2.1.17.Final-redhat-1) iniciado (com erros) em 43121ms - Iniciado 2797 de serviços 3070 (2 serviços falharam ou faltam dependência, os serviços 391 são lazy, passivos ou em demanda)
14:57:31,272 WARN [-] [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000004: Failure during stop of service jboss.deployment.unit.“cpj2.war”.CdiValidatorFactoryService: java.lang.AbstractMethodError: org.apache.myfaces.extensions.cdi.jsf.impl.bv.resolver.InvalidValueAwareValidatorFactory.close()V
at org.jboss.as.ee.beanvalidation.LazyValidatorFactory.close(LazyValidatorFactory.java:126)
at org.jboss.as.weld.CdiValidatorFactoryService.stop(CdiValidatorFactoryService.java:97)
at org.jboss.msc.service.ServiceControllerImpl$StopTask.stopService(ServiceControllerImpl.java:2150)
at org.jboss.msc.service.ServiceControllerImpl$StopTask.run(ServiceControllerImpl.java:2101)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)