>  기사  >  Java  >  Tomcat이 시작될 때 아티팩트 배포 중 오류가 발생했습니다.

Tomcat이 시작될 때 아티팩트 배포 중 오류가 발생했습니다.

巴扎黑
巴扎黑원래의
2017-06-23 13:54:2118172검색

报错:Artifact FirstWeb:warexploded: 아티팩트 배포 중 오류가 발생했습니다. 자세한 내용은 서버 로그를 참조하세요.

심각: 컨텍스트 초기화 이벤트를 리스너 인스턴스로 보내는 중 예외가 발생했습니다. 클래스 org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanDefinitionStoreException: 후보 구성요소 클래스를 읽지 못했습니다: 파일 [/Users/lizhix/MyDemo/out/artifacts/FirstWeb_war_exploded/WEB-INF/classes/com/lizhix/study/dao/UserInfoDao$1.class]; 중첩된 예외는 java.lang.IllegalArgumentException
   입니다. org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.findCandidateComponents(ClassPathScanningCandidateComponentProvider.java:261)
    at org.springframework.context.annotation.ClassPathBeanDefinitionScanner.doScan(ClassPathBeanDefinitionScanner.java:242)
    at org.springframework.context.annotation. ComponentScanBeanDefinitionParser. 구문 분석(ComponentScanBeanDefinitionParser.java:84)
    org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:73)
    ~에 org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1435)
    ~에 org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1425)
    ~에 org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:184)
    ~에 org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.doRegisterBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:140)
    ~에 org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:111)
    org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:493)
   org.springframework.beans에서. Factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:390)
    at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
    at org.springframework.beans.factory.xml.Xml BeanDefinitionReader. loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
    ~에 org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:174)
    ~에 org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:209)
    ~에 org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:180)
    at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:125)
    at org.springframework.web. context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:94)
    ~에 org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:131)
    ~에 org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:537)
    org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:451)
    org.springframework.web.context.ContextLoader에서. configureAndRefreshWebApplicationContext(ContextLoader.java:383)
    at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)
    at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4853)
    org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5314)
    org.apache.catalina.util.LifecycleBase에서. 시작(LifecycleBase.java:145)
    org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:753)
    org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:729)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
    at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1696)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(네이티브 메소드 )
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    java.lang.reflect.Method.invoke(Method.java:498)
org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:300)
    com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
    com.sun.jmx.mbeanserver에서 .JmxMBeanServer.invoke(JmxMBeanServer.java:801)
    org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:484)
    org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:433) )
    at sun.reflect.NativeMethodAccessorImpl.invoke0(네이티브 메소드)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    자바에서. lang.reflect.Method.invoke(Method.java:498)
    org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:300)
    com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke( DefaultMBeanServerInterceptor.java:819)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
    at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1468)
    at javax. Management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76)
    javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1309)
    javax.management.remote.rmi.RMIConnectionImpl에서 .doPrivilegedOperation(RMIConnectionImpl.java:1401)
    javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:829)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccess 또는Impl. call(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at sun.rmi.server. UnicastServerRef.dispatch(UnicastServerRef.java:346)
    at sun.rmi.transport.Transport$1.run(Transport.java:200)
    at sun.rmi.transport.Transport$1.run(Transport.java:197)
    at java.security.AccessController.doPrivileged(네이티브 메소드)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
    sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683)
    java에서. security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    java.lang.Thread.run(Thread.java:748)
원인: java.lang.IllegalArgumentException
    org.springframework에서. asm.ClassReader.(알 수 없는 소스)
    at org.springframework.asm.ClassReader.(알 수 없는 소스)
    at org.springframework.asm.ClassReader.(알 수 없는 소스)
    at org.springframework.core.type.classreading.SimpleMetadataReader.(SimpleMetadataReader.java:52)
    ~에 org.springframework.core.type.classreading.SimpleMetadataReaderFactory.getMetadataReader(SimpleMetadataReaderFactory.java:80)
    ~에 org.springframework.core.type.classreading.CachingMetadataReaderFactory.getMetadataReader(CachingMetadataReaderFactory.java:101)
    ~에 org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.findCandidateComponents(ClassPathScanningCandidateComponentProvider.java:237)
    ... 68개 더

2017년 6월 12일 17:42:15.052 심각 [RMI TCP 연결(2)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal 하나 이상 리스너를 시작하지 못했습니다. 자세한 내용은 해당 항목에서 확인하실 수 있습니다. 컨테이너 로그 파일
2017년 6월 12일 17:42:15.066 심각 [RMI TCP 접속(2)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal 컨텍스트 [] 이전 오류로 인해 시작에 실패했습니다
2017년 6월 12일 오후 5:42:15 org.apache.catalina.core.ApplicationContext 로그
INFO: Spring 루트 WebApplicationContext 닫기
2017년 6월 12일 오후 5:42:15 org.apache.catalina .core.StandardContext ListenerStop
심각: 클래스의 리스너 인스턴스에 컨텍스트 파괴 이벤트를 보내는 중 예외가 발생했습니다. org.springframework.web.context.ContextLoaderListener
java.lang.IllegalStateException: BeanFactory가 초기화되지 않았거나 이미 닫혔습니다. 전에 '새로 고침'을 호출하세요. ApplicationContext
를 통해 Bean에 액세스    org.springframework.context.support.AbstractRefreshableApplicationContext.getBeanFactory(AbstractRefreshableApplicationContext.java:172)
    at org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:1090)
    at org.springframework.context.support.AbstractApplicationContext. doClose(AbstractApplicationContext.java:1064)
    at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:1010)
    at org.springframework.web.context.ContextLoader.closeWebApplicationContext(ContextLoader.java:549)
    at org.springframework.web.context.ContextLoaderListener.contextDestroyed(ContextLoaderListener.java:143)
    org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4900)
    org.apache.catalina.core.StandardContext에서. stopInternal(StandardContext.java:5537)
    org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:221)
    org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:149)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:753)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:729)
    at org.apache.catalina.core.StandardHost. addChild(StandardHost.java:717)
    org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1696)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(네이티브 메소드)
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    java.lang.reflect.Method.invoke(Method.java:498)
    org.apache.tomcat.util에서 .modeler.BaseModelMBean.invoke(BaseModelMBean.java:300)
    com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
    com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java) :801)
    org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:484)
    org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:433)
    sun.reflect.NativeMethodAccessorImpl에서 .invoke0(네이티브 메소드)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    java.lang.reflect.Method.invoke( Method.java:498)
    org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:300)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
    at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1468)
    at javax.management.remote.rmi.RMIConnectionImpl. Access $ 300 (rmiconnectionimpl.java:76)
at javax.management.remote.rmi.rmiConnectionimpl $ privilegedOperation.run (rmiconnectionimpl.java:1309)
javax.management.remote.rmi.rmiConnectionimpl.dmilegedgeration (rmiconnection). )
    javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:829)
    sun.reflect.NativeMethodAccessorImpl.invoke0(네이티브 메서드)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62 )
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java: 346)
    at sun.rmi.transport.Transport$1.run(Transport.java:200)
    at sun.rmi.transport.Transport$1.run(Transport.java:197)
    java.security.AccessController.doPrivileged(네이티브 메소드)
    sun.rmi.transport.Transport.serviceCall(Transport.java:196)
    sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
    sun.rmi.transport.tcp.TCPTransport$에서 ConnectionHandler.run0(TCPTransport.java:826)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
    java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    java.util.concurrent.ThreadPoolExecutor$Worker에서. run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:748)

[2017-06-12 05:42:15,096] Artifact FirstWeb:warexploded: 이슈 배포 중 오류가 발생했습니다. 자세한 내용은 서버 로그를 참조하세요.问题,중신형 다운로드Spring4.X의 jar包,问题解决。


 

 

위 내용은 Tomcat이 시작될 때 아티팩트 배포 중 오류가 발생했습니다.의 상세 내용입니다. 자세한 내용은 PHP 중국어 웹사이트의 기타 관련 기사를 참조하세요!

성명:
본 글의 내용은 네티즌들의 자발적인 기여로 작성되었으며, 저작권은 원저작자에게 있습니다. 본 사이트는 이에 상응하는 법적 책임을 지지 않습니다. 표절이나 침해가 의심되는 콘텐츠를 발견한 경우 admin@php.cn으로 문의하세요.