3
respostas

Problema na inicialização do projeto com WildFly

Boa tarde, estou na aula 2, e ao começar a configurar meus daos, e o factorymanager e tudo mais, o projeto parou de subir, estou usando WildFLy e ele apresenta esse erro:

16:35:31,299 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 66) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
16:35:31,305 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) WFLYJCA0001: Bound data source [java:jboss/datasources/ExampleDS]
jun 02, 2017 4:35:31 PM org.xnio.Xnio <clinit>
INFO: XNIO version 3.4.0.Final
jun 02, 2017 4:35:31 PM org.xnio.nio.NioXnio <clinit>
INFO: XNIO NIO Implementation Version 3.4.0.Final
16:35:31,682 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-3) WFLYUT0006: Undertow HTTPS listener https listening on 127.0.0.1:8443
16:35:31,807 INFO  [org.jboss.ws.common.management] (MSC service thread 1-3) JBWS022052: Starting JBossWS 5.1.5.Final (Apache CXF 3.1.6) 
16:35:32,285 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:9990/management
16:35:32,286 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:9990
16:35:32,286 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Full 10.1.0.Final (WildFly Core 2.2.0.Final) started in 5025ms - Started 331 of 577 services (393 services are lazy, passive or on-demand)
jun 02, 2017 4:35:32 PM org.jboss.remoting3.EndpointImpl <clinit>
INFO: JBoss Remoting version 4.0.21.Final
Connected to server
[2017-06-02 04:35:32,747] Artifact casadocodigospring:war: Artifact is being deployed, please wait...
16:35:32,911 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0027: Starting deployment of "casadocodigospring.war" (runtime-name: "casadocodigospring.war")
16:35:35,887 WARN  [org.jboss.as.ee] (MSC service thread 1-1) WFLYEE0007: Not installing optional component org.springframework.http.server.ServletServerHttpAsyncRequestControl due to an exception (enable DEBUG log level to see the cause)
16:35:35,888 WARN  [org.jboss.as.ee] (MSC service thread 1-1) WFLYEE0007: Not installing optional component org.springframework.web.context.request.async.StandardServletAsyncWebRequest due to an exception (enable DEBUG log level to see the cause)
16:35:35,986 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-1) WFLYJCA0005: Deploying non-JDBC-compliant driver class com.mysql.jdbc.Driver (version 5.1)
16:35:35,987 WARN  [org.jboss.weld.deployer] (MSC service thread 1-1) WFLYWELD0013: Deployment deployment "casadocodigospring.war" contains CDI annotations but no bean archive was not found. (No beans.xml nor class with bean defining annotations)
16:35:36,036 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-1) WFLYJCA0018: Started Driver service with driver-name = casadocodigospring.war_com.mysql.jdbc.Driver_5_1
16:35:36,215 INFO  [io.undertow.servlet] (ServerService Thread Pool -- 69) Spring WebApplicationInitializers detected on classpath: [org.casadocodigospring.loja.conf.ServletSpringMVC@4aca664d]
16:35:36,336 INFO  [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool -- 69) Inicializando Mojarra 2.2.13.SP1 20160303-1204 para o contexto '/casadocodigospring'
16:35:38,231 INFO  [io.undertow.servlet] (ServerService Thread Pool -- 69) Initializing Spring FrameworkServlet 'dispatcher'
16:35:38,231 INFO  [org.springframework.web.servlet.DispatcherServlet] (ServerService Thread Pool -- 69) FrameworkServlet 'dispatcher': initialization started
16:35:38,235 INFO  [org.springframework.web.context.support.AnnotationConfigWebApplicationContext] (ServerService Thread Pool -- 69) Refreshing WebApplicationContext for namespace 'dispatcher-servlet': startup date [Fri Jun 02 16:35:38 BRT 2017]; root of context hierarchy
16:35:38,272 INFO  [org.springframework.web.context.support.AnnotationConfigWebApplicationContext] (ServerService Thread Pool -- 69) Registering annotated classes: [class org.casadocodigospring.loja.conf.AppWebConfiguration]
16:35:38,488 INFO  [org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor] (ServerService Thread Pool -- 69) JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
16:35:38,525 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 69) MSC000001: Failed to start service jboss.undertow.deployment.default-server.default-host./casadocodigospring: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./casadocodigospring: java.lang.NoSuchMethodError: org.springframework.util.ReflectionUtils.doWithLocalFields(Ljava/lang/Class;Lorg/springframework/util/ReflectionUtils$FieldCallback;)V
    at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:85)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:748)
    at org.jboss.threads.JBossThread.run(JBossThread.java:320)
Caused by: java.lang.NoSuchMethodError: org.springframework.util.ReflectionUtils.doWithLocalFields(Ljava/lang/Class;Lorg/springframework/util/ReflectionUtils$FieldCallback;)V
    at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.buildPersistenceMetadata(PersistenceAnnotationBeanPostProcessor.java:418)
    at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.findPersistenceMetadata(PersistenceAnnotationBeanPostProcessor.java:397)
    at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.postProcessMergedBeanDefinition(PersistenceAnnotationBeanPostProcessor.java:333)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyMergedBeanDefinitionPostProcessors(AbstractAutowireCapableBeanFactory.java:924)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:229)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:725)
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)
    at org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:658)
    at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:530)
    at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:484)
    at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:136)
    at javax.servlet.GenericServlet.init(GenericServlet.java:244)
    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:250)
    at io.undertow.servlet.core.ManagedServlet.createServlet(ManagedServlet.java:133)
    at io.undertow.servlet.core.DeploymentManagerImpl$2.call(DeploymentManagerImpl.java:546)
    at io.undertow.servlet.core.DeploymentManagerImpl$2.call(DeploymentManagerImpl.java:517)
    at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:42)
    at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
    at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
    at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
    at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
    at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
    at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
    at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
    at io.undertow.servlet.core.DeploymentManagerImpl.start(DeploymentManagerImpl.java:559)
    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

16:35:38,532 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 2) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "casadocodigospring.war")]) - failure description: {
    "WFLYCTL0080: Failed services" => {"jboss.undertow.deployment.default-server.default-host./casadocodigospring" => "org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./casadocodigospring: java.lang.NoSuchMethodError: org.springframework.util.ReflectionUtils.doWithLocalFields(Ljava/lang/Class;Lorg/springframework/util/ReflectionUtils$FieldCallback;)V
    Caused by: java.lang.NoSuchMethodError: org.springframework.util.ReflectionUtils.doWithLocalFields(Ljava/lang/Class;Lorg/springframework/util/ReflectionUtils$FieldCallback;)V"},
    "WFLYCTL0412: Required services that are not installed:" => ["jboss.undertow.deployment.default-server.default-host./casadocodigospring"],
    "WFLYCTL0180: Services with missing/unavailable dependencies" => undefined
}
16:35:38,534 ERROR [org.jboss.as.server] (management-handler-thread - 2) WFLYSRV0021: Deploy of deployment "casadocodigospring.war" was rolled back with the following failure message: 
{
    "WFLYCTL0080: Failed services" => {"jboss.undertow.deployment.default-server.default-host./casadocodigospring" => "org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./casadocodigospring: java.lang.NoSuchMethodError: org.springframework.util.ReflectionUtils.doWithLocalFields(Ljava/lang/Class;Lorg/springframework/util/ReflectionUtils$FieldCallback;)V
    Caused by: java.lang.NoSuchMethodError: org.springframework.util.ReflectionUtils.doWithLocalFields(Ljava/lang/Class;Lorg/springframework/util/ReflectionUtils$FieldCallback;)V"},
    "WFLYCTL0412: Required services that are not installed:" => ["jboss.undertow.deployment.default-server.default-host./casadocodigospring"],
    "WFLYCTL0180: Services with missing/unavailable dependencies" => undefined
}
16:35:38,539 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-6) WFLYJCA0019: Stopped Driver service with driver-name = casadocodigospring.war_com.mysql.jdbc.Driver_5_1
16:35:38,813 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-5) WFLYSRV0028: Stopped deployment casadocodigospring.war (runtime-name: casadocodigospring.war) in 278ms
16:35:38,821 INFO  [org.jboss.as.controller] (management-handler-thread - 2) WFLYCTL0183: Service status report
WFLYCTL0184:    New missing/unsatisfied dependencies:
      service jboss.deployment.unit."casadocodigospring.war".component."com.sun.faces.config.ConfigureListener".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."javax.faces.webapp.FacetTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.common.core.CatchTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.common.core.ChooseTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.common.core.OtherwiseTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.common.core.RemoveTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.common.xml.ForEachTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.common.xml.IfTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.common.xml.SetTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.common.xml.WhenTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.el.core.ForEachTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.el.core.ForTokensTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.el.core.IfTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.el.core.ImportTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.el.core.OutTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.el.core.ParamTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.el.core.RedirectTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.el.core.SetTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.el.core.UrlTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.el.core.WhenTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.el.fmt.BundleTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.el.fmt.FormatDateTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.el.fmt.FormatNumberTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.el.fmt.MessageTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.el.fmt.ParamTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.el.fmt.ParseDateTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.el.fmt.ParseNumberTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.el.fmt.RequestEncodingTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.el.fmt.SetLocaleTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.el.fmt.SetTimeZoneTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.el.fmt.TimeZoneTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.el.sql.DateParamTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.el.sql.ParamTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.el.sql.QueryTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.el.sql.SetDataSourceTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.el.sql.TransactionTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.el.sql.UpdateTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.el.xml.ExprTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.el.xml.ParamTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.el.xml.ParseTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.el.xml.TransformTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.rt.core.ForEachTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.rt.core.ForTokensTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.rt.core.IfTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.rt.core.ImportTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.rt.core.OutTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.rt.core.ParamTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.rt.core.RedirectTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.rt.core.SetTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.rt.core.UrlTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.rt.core.WhenTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.rt.fmt.BundleTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.rt.fmt.FormatDateTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.rt.fmt.FormatNumberTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.rt.fmt.MessageTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.rt.fmt.ParamTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.rt.fmt.ParseDateTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.rt.fmt.ParseNumberTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.rt.fmt.RequestEncodingTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.rt.fmt.SetBundleTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.rt.fmt.SetLocaleTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.rt.fmt.SetTimeZoneTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.rt.fmt.TimeZoneTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.rt.sql.DateParamTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.rt.sql.ParamTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.rt.sql.QueryTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.rt.sql.SetDataSourceTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.rt.sql.UpdateTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.rt.xml.ExprTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.rt.xml.ParamTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.rt.xml.ParseTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tag.rt.xml.TransformTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tlv.JstlCoreTLV".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tlv.JstlFmtTLV".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tlv.JstlSqlTLV".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.apache.taglibs.standard.tlv.JstlXmlTLV".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.springframework.web.servlet.tags.ArgumentTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.springframework.web.servlet.tags.BindErrorsTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.springframework.web.servlet.tags.BindTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.springframework.web.servlet.tags.EscapeBodyTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.springframework.web.servlet.tags.EvalTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.springframework.web.servlet.tags.HtmlEscapeTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.springframework.web.servlet.tags.MessageTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.springframework.web.servlet.tags.NestedPathTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.springframework.web.servlet.tags.ParamTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.springframework.web.servlet.tags.ThemeTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.springframework.web.servlet.tags.TransformTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.springframework.web.servlet.tags.UrlTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.springframework.web.servlet.tags.form.ButtonTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.springframework.web.servlet.tags.form.CheckboxesTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.springframework.web.servlet.tags.form.ErrorsTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.springframework.web.servlet.tags.form.FormTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.springframework.web.servlet.tags.form.HiddenInputTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.springframework.web.servlet.tags.form.InputTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.springframework.web.servlet.tags.form.LabelTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.springframework.web.servlet.tags.form.OptionTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.springframework.web.servlet.tags.form.OptionsTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.springframework.web.servlet.tags.form.PasswordInputTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.springframework.web.servlet.tags.form.RadioButtonTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.springframework.web.servlet.tags.form.RadioButtonsTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.springframework.web.servlet.tags.form.SelectTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.deployment.unit."casadocodigospring.war".component."org.springframework.web.servlet.tags.form.TextareaTag".START (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
      service jboss.undertow.deployment.default-server.default-host./casadocodigospring (missing) dependents: [service jboss.deployment.unit."casadocodigospring.war".deploymentCompleteService] 
WFLYCTL0186:   Services which failed to start:      service jboss.undertow.deployment.default-server.default-host./casadocodigospring

[2017-06-02 04:35:38,900] Artifact casadocodigospring:war: Error during artifact deployment. See server log for details.
[2017-06-02 04:35:38,900] Artifact casadocodigospring:war: java.lang.Exception: {"WFLYCTL0080: Failed services" => {"jboss.undertow.deployment.default-server.default-host./casadocodigospring" => "org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./casadocodigospring: java.lang.NoSuchMethodError: org.springframework.util.ReflectionUtils.doWithLocalFields(Ljava/lang/Class;Lorg/springframework/util/ReflectionUtils$FieldCallback;)V
    Caused by: java.lang.NoSuchMethodError: org.springframework.util.ReflectionUtils.doWithLocalFields(Ljava/lang/Class;Lorg/springframework/util/ReflectionUtils$FieldCallback;)V"},"WFLYCTL0412: Required services that are not installed:" => ["jboss.undertow.deployment.default-server.default-host./casadocodigospring"],"WFLYCTL0180: Services with missing/unavailable dependencies" => undefined}
16:36:07,155 INFO  [org.jboss.as.server] (management-handler-thread - 2) WFLYSRV0236: Suspending server with no timeout.
16:36:07,157 INFO  [org.jboss.as.server] (Management Triggered Shutdown) WFLYSRV0241: Shutting down in response to management operation 'shutdown'
16:36:07,172 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0008: Undertow HTTPS listener https suspending
16:36:07,174 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0007: Undertow HTTPS listener https stopped, was bound to 127.0.0.1:8443
16:36:07,177 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) WFLYJCA0010: Unbound data source [java:jboss/datasources/ExampleDS]
16:36:07,191 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-8) WFLYUT0008: Undertow HTTP listener default suspending
16:36:07,191 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-8) WFLYUT0007: Undertow HTTP listener default stopped, was bound to 127.0.0.1:8080
16:36:07,193 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-7) WFLYUT0019: Host default-host stopping
16:36:07,194 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-8) WFLYUT0004: Undertow 1.4.0.Final stopping
16:36:07,231 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-5) WFLYJCA0019: Stopped Driver service with driver-name = h2
16:36:07,262 INFO  [org.jboss.as] (MSC service thread 1-7) WFLYSRV0050: WildFly Full 10.1.0.Final (WildFly Core 2.2.0.Final) stopped in 90ms

Process finished with exit code 0
Disconnected from server

Alguem pode dar uma mão?

3 respostas

Olá,

Pergunta: é um projeto maven ou Java Project comum? O erro: Caused by: java.lang.NoSuchMethodError: org.springframework.util.ReflectionUtils.doWithLocalFields(Ljava/lang/Class;Lorg/springframework/util/ReflectionUtils$FieldCallback;)V"},"WFLYCTL0412: Required services that are not installed:" => ["jboss.undertow.deployment.default-server.default-host./casadocodigospring"],"WFLYCTL0180: Services with missing/unavailable dependencies" => undefined}

Parece que está faltando dependências.

Té mais,

Opa, é um projeto maven msm, vou postar aqui meu pom

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <groupId>org.casadocodigospring</groupId>
    <artifactId>casadocodigospring</artifactId>
    <version>1.0.0-SNAPSHOT</version>
    <packaging>war</packaging>
    <build>
        <finalName>casadocodigospring</finalName>
    </build>
    <properties>
        <failOnMissingWebXml>false</failOnMissingWebXml>
        <maven.compiler.source>1.8</maven.compiler.source>
        <maven.compiler.target>1.8</maven.compiler.target>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    </properties>


    <dependencies>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-webmvc</artifactId>
            <version>4.1.0.RELEASE</version>
        </dependency>
        <dependency>
            <groupId>javax.servlet.jsp</groupId>
            <artifactId>jsp-api</artifactId>
            <version>2.1</version>
        </dependency>

        <dependency>
            <groupId>javax.servlet.jsp.jstl</groupId>
            <artifactId>jstl-api</artifactId>
            <version>1.2</version>
            <exclusions>
                <exclusion>
                    <groupId>javax.servlet</groupId>
                    <artifactId>servlet-api</artifactId>
                </exclusion>
            </exclusions>
        </dependency>

        <dependency>
            <groupId>org.glassfish.web</groupId>
            <artifactId>jstl-impl</artifactId>
            <version>1.2</version>
            <exclusions>
                <exclusion>
                    <groupId>javax.servlet</groupId>
                    <artifactId>servlet-api</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>javax.servlet</groupId>
            <artifactId>javax.servlet-api</artifactId>
            <version>3.1.0</version>
            <scope>provided</scope>
        </dependency>

        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-api</artifactId>
            <version>1.6.1</version>
        </dependency>
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>jcl-over-slf4j</artifactId>
            <version>1.6.1</version>
            <scope>runtime</scope>
        </dependency>
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-log4j12</artifactId>
            <version>1.6.1</version>
            <scope>runtime</scope>
        </dependency>
        <dependency>
            <groupId>log4j</groupId>
            <artifactId>log4j</artifactId>
            <version>1.2.16</version>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>org.hibernate</groupId>
            <artifactId>hibernate-entitymanager</artifactId>
            <version>4.3.0.Final</version>
        </dependency>

        <dependency>
            <groupId>org.hibernate</groupId>
            <artifactId>hibernate-core</artifactId>
            <version>4.3.0.Final</version>
        </dependency>

        <dependency>
            <groupId>org.hibernate.javax.persistence</groupId>
            <artifactId>hibernate-jpa-2.1-api</artifactId>
            <version>1.0.0.Final</version>
        </dependency>

        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-orm</artifactId>
            <version>4.1.0.RELEASE</version>
        </dependency>

        <dependency>
            <groupId>mysql</groupId>
            <artifactId>mysql-connector-java</artifactId>
            <version>5.1.15</version>
        </dependency>


    </dependencies>

</project>

Olá,

Tente adicionar aquela dependência ao seu pom.

Té mais,

Quer mergulhar em tecnologia e aprendizagem?

Receba a newsletter que o nosso CEO escreve pessoalmente, com insights do mercado de trabalho, ciência e desenvolvimento de software