三月 14, 2016 6:08:46 下午 org.apache.catalina.core.AprLifecycleListener init
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\tools\myeclipse\binary\com.sun.java.jdk7.win32.x86_1.7.0.u45\bin;D:\tools\myeclipse\plugins\com.genuitec.eclipse.easie.tomcat7.myeclipse_11.5.0.me201310302042\tomcat\bin
三月 14, 2016 6:08:47 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-bio-8080"]
三月 14, 2016 6:08:47 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["ajp-bio-8009"]
三月 14, 2016 6:08:47 下午 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 1513 ms
三月 14, 2016 6:08:47 下午 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
三月 14, 2016 6:08:47 下午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/7.0.30
三月 14, 2016 6:08:47 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\tm\apache-tomcat-8.0.32\webapps\.metadata\.me_tcat7\webapps\mystruts2
ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console.
18:08:53.561 [localhost-startStop-1] ERROR org.apache.struts2.dispatcher.Dispatcher - Dispatcher initialization failed
com.opensymphony.xwork2.config.ConfigurationException: Unable to load configuration.
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:70) ~[xwork-core-2.3.24.1.jar:2.3.24.1]
at org.apache.struts2.dispatcher.Dispatcher.getContainer(Dispatcher.java:967) ~[struts2-core-2.3.24.1.jar:2.3.24.1]
at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:435) ~[struts2-core-2.3.24.1.jar:2.3.24.1]
at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:479) [struts2-core-2.3.24.1.jar:2.3.24.1]
at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:74) [struts2-core-2.3.24.1.jar:2.3.24.1]
at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:57) [struts2-core-2.3.24.1.jar:2.3.24.1]
at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:277) [catalina.jar:7.0.30]
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:258) [catalina.jar:7.0.30]
at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:382) [catalina.jar:7.0.30]
at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:103) [catalina.jar:7.0.30]
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4650) [catalina.jar:7.0.30]
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5306) [catalina.jar:7.0.30]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) [catalina.jar:7.0.30]
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) [catalina.jar:7.0.30]
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) [catalina.jar:7.0.30]
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618) [catalina.jar:7.0.30]
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1100) [catalina.jar:7.0.30]
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1618) [catalina.jar:7.0.30]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [?:1.7.0_45]
at java.util.concurrent.FutureTask.run(FutureTask.java:262) [?:1.7.0_45]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [?:1.7.0_45]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [?:1.7.0_45]
at java.lang.Thread.run(Thread.java:744) [?:1.7.0_45]
Caused by: com.opensymphony.xwork2.config.ConfigurationException: Action class [com.zhu.login.action.LoginAction] not found
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.verifyAction(XmlConfigurationProvider.java:486) ~[xwork-core-2.3.24.1.jar:2.3.24.1]
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addAction(XmlConfigurationProvider.java:429) ~[xwork-core-2.3.24.1.jar:2.3.24.1]
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:556) ~[xwork-core-2.3.24.1.jar:2.3.24.1]
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadPackages(XmlConfigurationProvider.java:295) ~[xwork-core-2.3.24.1.jar:2.3.24.1]
at org.apache.struts2.config.StrutsXmlConfigurationProvider.loadPackages(StrutsXmlConfigurationProvider.java:112) ~[struts2-core-2.3.24.1.jar:2.3.24.1]
at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:264) ~[xwork-core-2.3.24.1.jar:2.3.24.1]
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:67) ~[xwork-core-2.3.24.1.jar:2.3.24.1]
... 22 more
三月 14, 2016 6:08:53 下午 org.apache.catalina.core.StandardContext filterStart
严重: Exception starting filter struts2
Unable to load configuration. - action - file:/D:/tm/apache-tomcat-8.0.32/webapps/.metadata/.me_tcat7/webapps/mystruts2/WEB-INF/classes/struts.xml:9:68
at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:493)
at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:74)
at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:57)
at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:277)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:258)
at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:382)
at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:103)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4650)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5306)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1100)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1618)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
Caused by: Unable to load configuration. - action - file:/D:/tm/apache-tomcat-8.0.32/webapps/.metadata/.me_tcat7/webapps/mystruts2/WEB-INF/classes/struts.xml:9:68
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:70)
at org.apache.struts2.dispatcher.Dispatcher.getContainer(Dispatcher.java:967)
at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:435)
at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:479)
... 19 more
Caused by: Action class [com.zhu.login.action.LoginAction] not found - action - file:/D:/tm/apache-tomcat-8.0.32/webapps/.metadata/.me_tcat7/webapps/mystruts2/WEB-INF/classes/struts.xml:9:68
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.verifyAction(XmlConfigurationProvider.java:486)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addAction(XmlConfigurationProvider.java:429)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:556)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadPackages(XmlConfigurationProvider.java:295)
at org.apache.struts2.config.StrutsXmlConfigurationProvider.loadPackages(StrutsXmlConfigurationProvider.java:112)
at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:264)
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:67)
... 22 more
大家讲道理2017-04-17 17:25:33
원인: 액션 클래스 [com.zhu.login.action.LoginAction]을 찾을 수 없음 - 액션 - 파일:/D:/tm/apache-tomcat-8.0.32/webapps/.metadata/.me_tcat7/webapps/ mystruts2/WEB-INF/classes/struts.xml:9:68
阿神2017-04-17 17:25:33
나중에 이런 일이 발생하면 시퀀스에서 마지막 Caused by를 찾으세요(실제로는 첫 번째입니다. Java는 예외 처리가 매우 완벽하고 모든 스택 메시지와 프로세스가 인쇄되기 때문입니다). 예외는 첫 번째 예외 발생 지점으로 인해 발생하며, 마지막 원인은
입니다.원인: 액션 클래스 [com.zhu.login.action.LoginAction]을 찾을 수 없음 - 액션 - 파일:/D:/tm/apache-tomcat-8.0.32/webapps/.metadata/.me_tcat7/webapps/ mystruts2/WEB-INF/classes/struts.xml:9:68
伊谢尔伦2017-04-17 17:25:33
struts.xml의 9번째 줄에 문제가 있습니다. 올바른 대괄호가 누락되었거나 뭔가를 작성하는 것을 잊었는지 확인하세요. 그렇지 않은 경우 구성된 전체 클래스 명사입니다. 잘못 쓰여졌습니다
迷茫2017-04-17 17:25:33
Java 기반 애플리케이션의 오류 로그는 대부분 정크 로그입니다.
플랫폼을 바꿀 수 있다면 플랫폼을 바꾸세요. 플랫폼을 바꿀 수 없다면 꿀을 좀 마시면 괜찮을 것 같아요.