猿问

maven项目添加log4j,服务器启动时异常

十月 31, 2017 9:05:55 下午 org.apache.tomcat.util.digester.SetPropertiesRule begin

警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.j2ee.server:structs2-3' did not find a matching property.

十月 31, 2017 9:05:55 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: Server version:        Apache Tomcat/7.0.72

十月 31, 2017 9:05:55 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: Server built:          Sep 14 2016 12:12:26 UTC

十月 31, 2017 9:05:55 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: Server number:         7.0.72.0

十月 31, 2017 9:05:55 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: OS Name:               Windows 7

十月 31, 2017 9:05:55 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: OS Version:            6.1

十月 31, 2017 9:05:55 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: Architecture:          amd64

十月 31, 2017 9:05:55 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: Java Home:             D:\sofeware-download\myeclipse2014\binary\com.sun.java.jdk7.win32.x86_64_1.7.0.u45\jre

十月 31, 2017 9:05:55 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: JVM Version:           1.7.0_45-b18

十月 31, 2017 9:05:55 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: JVM Vendor:            Oracle Corporation

十月 31, 2017 9:05:55 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: CATALINA_BASE:         F:\eclipse-workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1

十月 31, 2017 9:05:55 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: CATALINA_HOME:         D:\sofeware-download\tomcat\apache-tomcat-7.0.72

十月 31, 2017 9:05:55 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: Command line argument: -Dcatalina.base=F:\eclipse-workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1

十月 31, 2017 9:05:55 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: Command line argument: -Dcatalina.home=D:\sofeware-download\tomcat\apache-tomcat-7.0.72

十月 31, 2017 9:05:55 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: Command line argument: -Dwtp.deploy=F:\eclipse-workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps

十月 31, 2017 9:05:55 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: Command line argument: -Djava.endorsed.dirs=D:\sofeware-download\tomcat\apache-tomcat-7.0.72\endorsed

十月 31, 2017 9:05:55 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: Command line argument: -Dfile.encoding=GBK

十月 31, 2017 9:05:55 下午 org.apache.catalina.core.AprLifecycleListener lifecycleEvent

信息: Loaded APR based Apache Tomcat Native library 1.2.8 using APR version 1.5.2.

十月 31, 2017 9:05:55 下午 org.apache.catalina.core.AprLifecycleListener lifecycleEvent

信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].

十月 31, 2017 9:05:56 下午 org.apache.catalina.core.AprLifecycleListener initializeSSL

信息: OpenSSL successfully initialized (OpenSSL 1.0.2h  3 May 2016)

十月 31, 2017 9:05:56 下午 org.apache.coyote.AbstractProtocol init

信息: Initializing ProtocolHandler ["http-apr-8080"]

十月 31, 2017 9:05:56 下午 org.apache.coyote.AbstractProtocol init

信息: Initializing ProtocolHandler ["ajp-apr-8009"]

十月 31, 2017 9:05:56 下午 org.apache.catalina.startup.Catalina load

信息: Initialization processed in 2260 ms

十月 31, 2017 9:05:56 下午 org.apache.catalina.core.StandardService startInternal

信息: Starting service Catalina

十月 31, 2017 9:05:56 下午 org.apache.catalina.core.StandardEngine startInternal

信息: Starting Servlet Engine: Apache Tomcat/7.0.72

十月 31, 2017 9:05:57 下午 org.apache.catalina.loader.WebappClassLoaderBase validateJarFile

信息: validateJarFile(F:\eclipse-workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\structs2-3\WEB-INF\lib\jsp-api-2.1.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class: javax/el/Expression.class

十月 31, 2017 9:05:57 下午 org.apache.catalina.loader.WebappClassLoaderBase validateJarFile

信息: validateJarFile(F:\eclipse-workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\structs2-3\WEB-INF\lib\servlet-api-2.5.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class: javax/servlet/Servlet.class

十月 31, 2017 9:06:02 下午 org.apache.catalina.startup.TldConfig execute

信息: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.

十月 31, 2017 9:06:02 下午 org.apache.catalina.core.ApplicationContext log

信息: No Spring WebApplicationInitializer types detected on classpath

十月 31, 2017 9:06:02 下午 org.apache.catalina.core.ApplicationContext log

信息: Set web app root system property: 'webapp.root' = [F:\eclipse-workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\structs2-3\]

ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console...

ERROR Dispatcher Dispatcher initialization failed

 Unable to load configuration. - action - file:/F:/eclipse-workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/structs2-3/WEB-INF/classes/struts.xml:16:76

at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66)

at org.apache.struts2.dispatcher.Dispatcher.getContainer(Dispatcher.java:960)

at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:466)

at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:499)

at org.apache.struts2.dispatcher.InitOperations.initDispatcher(InitOperations.java:75)

at org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:63)

at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279)

at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260)

at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:105)

at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4958)

at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5652)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)

at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1571)

at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1561)

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: Action class [com.ldm.action.LoginAction] not found - action - file:/F:/eclipse-workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/structs2-3/WEB-INF/classes/struts.xml:16:76

at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.verifyAction(XmlConfigurationProvider.java:505)

at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addAction(XmlConfigurationProvider.java:454)

at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:569)

at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadPackages(XmlConfigurationProvider.java:323)

at org.apache.struts2.config.StrutsXmlConfigurationProvider.loadPackages(StrutsXmlConfigurationProvider.java:108)

at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:188)

at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:63)

... 17 more

十月 31, 2017 9:06:03 下午 org.apache.catalina.core.StandardContext filterStart

严重: Exception starting filter struts2

Unable to load configuration. - action - file:/F:/eclipse-workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/structs2-3/WEB-INF/classes/struts.xml:16:76

at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:512)

at org.apache.struts2.dispatcher.InitOperations.initDispatcher(InitOperations.java:75)

at org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:63)

at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279)

at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260)

at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:105)

at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4958)

at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5652)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)

at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1571)

at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1561)

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:/F:/eclipse-workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/structs2-3/WEB-INF/classes/struts.xml:16:76

at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66)

at org.apache.struts2.dispatcher.Dispatcher.getContainer(Dispatcher.java:960)

at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:466)

at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:499)

... 14 more

Caused by: Action class [com.ldm.action.LoginAction] not found - action - file:/F:/eclipse-workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/structs2-3/WEB-INF/classes/struts.xml:16:76

at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.verifyAction(XmlConfigurationProvider.java:505)

at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addAction(XmlConfigurationProvider.java:454)

at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:569)

at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadPackages(XmlConfigurationProvider.java:323)

at org.apache.struts2.config.StrutsXmlConfigurationProvider.loadPackages(StrutsXmlConfigurationProvider.java:108)

at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:188)

at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:63)

... 17 more


十月 31, 2017 9:06:03 下午 org.apache.catalina.core.StandardContext startInternal

严重: One or more Filters failed to start. Full details will be found in the appropriate container log file

十月 31, 2017 9:06:03 下午 org.apache.catalina.core.StandardContext startInternal

严重: Context [/structs2-3] startup failed due to previous errors

十月 31, 2017 9:06:03 下午 org.apache.catalina.core.ApplicationContext log

信息: Shutting down log4j

十月 31, 2017 9:06:03 下午 org.apache.coyote.AbstractProtocol start

信息: Starting ProtocolHandler ["http-apr-8080"]

十月 31, 2017 9:06:03 下午 org.apache.coyote.AbstractProtocol start

信息: Starting ProtocolHandler ["ajp-apr-8009"]

十月 31, 2017 9:06:03 下午 org.apache.catalina.startup.Catalina start

信息: Server startup in 6851 ms


稻子凡
浏览 2314回答 0
0回答
随时随地看视频慕课网APP

相关分类

Java
我要回答