问答详情
源自:2-2 Struts2 案例代码实现

- -各种错误改完一个又一个。求解答

http://img.mukewang.com/58d16a40000109f012090497.jpg

http://img.mukewang.com/58d16a410001cf2808220655.jpg

http://img.mukewang.com/58d16a4200011b2b08510564.jpg

http://img.mukewang.com/58d16a420001361f08240513.jpg

三月 22, 2017 1:58:11 上午 org.apache.tomcat.util.digester.SetPropertiesRule begin

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

三月 22, 2017 1:58:11 上午 org.apache.catalina.startup.VersionLoggerListener log

信息: Server version:        Apache Tomcat/9.0.0.M17

三月 22, 2017 1:58:11 上午 org.apache.catalina.startup.VersionLoggerListener log

信息: Server built:          Jan 10 2017 20:59:20 UTC

三月 22, 2017 1:58:11 上午 org.apache.catalina.startup.VersionLoggerListener log

信息: Server number:         9.0.0.0

三月 22, 2017 1:58:11 上午 org.apache.catalina.startup.VersionLoggerListener log

信息: OS Name:               Windows 7

三月 22, 2017 1:58:11 上午 org.apache.catalina.startup.VersionLoggerListener log

信息: OS Version:            6.1

三月 22, 2017 1:58:11 上午 org.apache.catalina.startup.VersionLoggerListener log

信息: Architecture:          amd64

三月 22, 2017 1:58:11 上午 org.apache.catalina.startup.VersionLoggerListener log

信息: Java Home:             C:\Program Files\Java\jre1.8.0_121

三月 22, 2017 1:58:11 上午 org.apache.catalina.startup.VersionLoggerListener log

信息: JVM Version:           1.8.0_121-b13

三月 22, 2017 1:58:11 上午 org.apache.catalina.startup.VersionLoggerListener log

信息: JVM Vendor:            Oracle Corporation

三月 22, 2017 1:58:11 上午 org.apache.catalina.startup.VersionLoggerListener log

信息: CATALINA_BASE:         E:\Eclipse\.metadata\.plugins\org.eclipse.wst.server.core\tmp0

三月 22, 2017 1:58:11 上午 org.apache.catalina.startup.VersionLoggerListener log

信息: CATALINA_HOME:         C:\apache-tomcat-9.0.0.M17

三月 22, 2017 1:58:11 上午 org.apache.catalina.startup.VersionLoggerListener log

信息: Command line argument: -Dcatalina.base=E:\Eclipse\.metadata\.plugins\org.eclipse.wst.server.core\tmp0

三月 22, 2017 1:58:11 上午 org.apache.catalina.startup.VersionLoggerListener log

信息: Command line argument: -Dcatalina.home=C:\apache-tomcat-9.0.0.M17

三月 22, 2017 1:58:11 上午 org.apache.catalina.startup.VersionLoggerListener log

信息: Command line argument: -Dwtp.deploy=E:\Eclipse\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps

三月 22, 2017 1:58:11 上午 org.apache.catalina.startup.VersionLoggerListener log

信息: Command line argument: -Djava.endorsed.dirs=C:\apache-tomcat-9.0.0.M17\endorsed

三月 22, 2017 1:58:11 上午 org.apache.catalina.startup.VersionLoggerListener log

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

三月 22, 2017 1:58:11 上午 org.apache.catalina.core.AprLifecycleListener lifecycleEvent

信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre1.8.0_121\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Program Files/Java/jre1.8.0_121/bin/server;C:/Program Files/Java/jre1.8.0_121/bin;C:/Program Files/Java/jre1.8.0_121/lib/amd64;C:\Program Files\Java\JDK;/bin;C:\ProgramData\Oracle\Java\javapath;.;C:\Program Files\Java\JDK;C:\Program Files\Java\JDK\bin;.;E:\MySQL\mysql-5.7.17-winx64\bin;.;C:\Windows\System32;C:\Program Files\MySQL\MySQL Server 5.5\bin;;E:\Eclipse\eclipse;;.

三月 22, 2017 1:58:11 上午 org.apache.coyote.AbstractProtocol init

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

三月 22, 2017 1:58:11 上午 org.apache.tomcat.util.net.NioSelectorPool getSharedSelector

信息: Using a shared selector for servlet write/read

三月 22, 2017 1:58:11 上午 org.apache.coyote.AbstractProtocol init

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

三月 22, 2017 1:58:11 上午 org.apache.tomcat.util.net.NioSelectorPool getSharedSelector

信息: Using a shared selector for servlet write/read

三月 22, 2017 1:58:11 上午 org.apache.catalina.startup.Catalina load

信息: Initialization processed in 1017 ms

三月 22, 2017 1:58:11 上午 org.apache.catalina.core.StandardService startInternal

信息: Starting service Catalina

三月 22, 2017 1:58:11 上午 org.apache.catalina.core.StandardEngine startInternal

信息: Starting Servlet Engine: Apache Tomcat/9.0.0.M17

三月 22, 2017 1:58:12 上午 org.apache.jasper.servlet.TldScanner scanJars

信息: 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.

ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console.

01:58:20.873 [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) ~[struts2-core-2.5.10.1.jar:2.5.10.1]

at org.apache.struts2.dispatcher.Dispatcher.getContainer(Dispatcher.java:906) ~[struts2-core-2.5.10.1.jar:2.5.10.1]

at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:445) ~[struts2-core-2.5.10.1.jar:2.5.10.1]

at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:486) [struts2-core-2.5.10.1.jar:2.5.10.1]

at org.apache.struts2.dispatcher.InitOperations.initDispatcher(InitOperations.java:75) [struts2-core-2.5.10.1.jar:2.5.10.1]

at org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:63) [struts2-core-2.5.10.1.jar:2.5.10.1]

at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279) [catalina.jar:9.0.0.M17]

at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260) [catalina.jar:9.0.0.M17]

at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:105) [catalina.jar:9.0.0.M17]

at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4563) [catalina.jar:9.0.0.M17]

at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5205) [catalina.jar:9.0.0.M17]

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [catalina.jar:9.0.0.M17]

at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1419) [catalina.jar:9.0.0.M17]

at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409) [catalina.jar:9.0.0.M17]

at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_121]

at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_121]

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_121]

at java.lang.Thread.run(Unknown Source) [?:1.8.0_121]

Caused by: com.opensymphony.xwork2.config.ConfigurationException: Action class [cc.Hc] not found

at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.verifyAction(XmlConfigurationProvider.java:505) ~[struts2-core-2.5.10.1.jar:2.5.10.1]

at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addAction(XmlConfigurationProvider.java:454) ~[struts2-core-2.5.10.1.jar:2.5.10.1]

at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:569) ~[struts2-core-2.5.10.1.jar:2.5.10.1]

at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadPackages(XmlConfigurationProvider.java:323) ~[struts2-core-2.5.10.1.jar:2.5.10.1]

at org.apache.struts2.config.StrutsXmlConfigurationProvider.loadPackages(StrutsXmlConfigurationProvider.java:108) ~[struts2-core-2.5.10.1.jar:2.5.10.1]

at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:189) ~[struts2-core-2.5.10.1.jar:2.5.10.1]

at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:67) ~[struts2-core-2.5.10.1.jar:2.5.10.1]

... 17 more

三月 22, 2017 1:58:20 上午 org.apache.catalina.core.StandardContext filterStart

严重: Exception starting filter struts2

Unable to load configuration. - action - file:/E:/Eclipse/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/Test/WEB-INF/classes/struts.xml:9:34

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:4563)

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

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

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

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

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)

Caused by: Unable to load configuration. - action - file:/E:/Eclipse/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/Test/WEB-INF/classes/struts.xml:9:34

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

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

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

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

... 14 more

Caused by: Action class [cc.Hc] not found - action - file:/E:/Eclipse/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/Test/WEB-INF/classes/struts.xml:9:34

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:189)

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

... 17 more


三月 22, 2017 1:58:20 上午 org.apache.catalina.core.StandardContext startInternal

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

三月 22, 2017 1:58:20 上午 org.apache.catalina.core.StandardContext startInternal

严重: Context [/Test] startup failed due to previous errors

三月 22, 2017 1:58:20 上午 org.apache.coyote.AbstractProtocol start

信息: Starting ProtocolHandler [http-nio-8080]

三月 22, 2017 1:58:20 上午 org.apache.coyote.AbstractProtocol start

信息: Starting ProtocolHandler [ajp-nio-8009]

三月 22, 2017 1:58:20 上午 org.apache.catalina.startup.Catalina start

信息: Server startup in 9123 ms

  

 求各位大佬解疑 已经折磨我一晚上了

提问者:慕桂英2691441 2017-03-22 02:01

个回答

  • 慕移动9181930
    2022-03-25 05:13:38

    那个长横线是连个短下滑线。plist,SwiftWeatherSwiftWeatherTests

  • 慕桂英2691441
    2017-03-22 09:56:17

    三月 22, 2017 9:58:16 上午 org.apache.tomcat.util.digester.SetPropertiesRule begin

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

    三月 22, 2017 9:58:16 上午 org.apache.catalina.startup.VersionLoggerListener log

    信息: Server version:        Apache Tomcat/9.0.0.M17

    三月 22, 2017 9:58:16 上午 org.apache.catalina.startup.VersionLoggerListener log

    信息: Server built:          Jan 10 2017 20:59:20 UTC

    三月 22, 2017 9:58:16 上午 org.apache.catalina.startup.VersionLoggerListener log

    信息: Server number:         9.0.0.0

    三月 22, 2017 9:58:16 上午 org.apache.catalina.startup.VersionLoggerListener log

    信息: OS Name:               Windows 7

    三月 22, 2017 9:58:16 上午 org.apache.catalina.startup.VersionLoggerListener log

    信息: OS Version:            6.1

    三月 22, 2017 9:58:16 上午 org.apache.catalina.startup.VersionLoggerListener log

    信息: Architecture:          amd64

    三月 22, 2017 9:58:16 上午 org.apache.catalina.startup.VersionLoggerListener log

    信息: Java Home:             C:\Program Files\Java\jre1.8.0_121

    三月 22, 2017 9:58:16 上午 org.apache.catalina.startup.VersionLoggerListener log

    信息: JVM Version:           1.8.0_121-b13

    三月 22, 2017 9:58:16 上午 org.apache.catalina.startup.VersionLoggerListener log

    信息: JVM Vendor:            Oracle Corporation

    三月 22, 2017 9:58:16 上午 org.apache.catalina.startup.VersionLoggerListener log

    信息: CATALINA_BASE:         E:\Eclipse\.metadata\.plugins\org.eclipse.wst.server.core\tmp0

    三月 22, 2017 9:58:16 上午 org.apache.catalina.startup.VersionLoggerListener log

    信息: CATALINA_HOME:         C:\apache-tomcat-9.0.0.M17

    三月 22, 2017 9:58:16 上午 org.apache.catalina.startup.VersionLoggerListener log

    信息: Command line argument: -Dcatalina.base=E:\Eclipse\.metadata\.plugins\org.eclipse.wst.server.core\tmp0

    三月 22, 2017 9:58:16 上午 org.apache.catalina.startup.VersionLoggerListener log

    信息: Command line argument: -Dcatalina.home=C:\apache-tomcat-9.0.0.M17

    三月 22, 2017 9:58:16 上午 org.apache.catalina.startup.VersionLoggerListener log

    信息: Command line argument: -Dwtp.deploy=E:\Eclipse\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps

    三月 22, 2017 9:58:16 上午 org.apache.catalina.startup.VersionLoggerListener log

    信息: Command line argument: -Djava.endorsed.dirs=C:\apache-tomcat-9.0.0.M17\endorsed

    三月 22, 2017 9:58:16 上午 org.apache.catalina.startup.VersionLoggerListener log

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

    三月 22, 2017 9:58:16 上午 org.apache.catalina.core.AprLifecycleListener lifecycleEvent

    信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre1.8.0_121\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Program Files/Java/jre1.8.0_121/bin/server;C:/Program Files/Java/jre1.8.0_121/bin;C:/Program Files/Java/jre1.8.0_121/lib/amd64;C:\Program Files\Java\JDK;/bin;C:\ProgramData\Oracle\Java\javapath;.;C:\Program Files\Java\JDK;C:\Program Files\Java\JDK\bin;.;E:\MySQL\mysql-5.7.17-winx64\bin;.;C:\Windows\System32;C:\Program Files\MySQL\MySQL Server 5.5\bin;;E:\Eclipse\eclipse;;.

    三月 22, 2017 9:58:16 上午 org.apache.coyote.AbstractProtocol init

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

    三月 22, 2017 9:58:16 上午 org.apache.tomcat.util.net.NioSelectorPool getSharedSelector

    信息: Using a shared selector for servlet write/read

    三月 22, 2017 9:58:16 上午 org.apache.coyote.AbstractProtocol init

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

    三月 22, 2017 9:58:16 上午 org.apache.tomcat.util.net.NioSelectorPool getSharedSelector

    信息: Using a shared selector for servlet write/read

    三月 22, 2017 9:58:16 上午 org.apache.catalina.startup.Catalina load

    信息: Initialization processed in 996 ms

    三月 22, 2017 9:58:16 上午 org.apache.catalina.core.StandardService startInternal

    信息: Starting service Catalina

    三月 22, 2017 9:58:16 上午 org.apache.catalina.core.StandardEngine startInternal

    信息: Starting Servlet Engine: Apache Tomcat/9.0.0.M17

    三月 22, 2017 9:58:17 上午 org.apache.jasper.servlet.TldScanner scanJars

    信息: 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.

    三月 22, 2017 9:58:17 上午 com.opensymphony.xwork2.config.providers.XmlConfigurationProvider info

    信息: Parsing configuration file [struts-default.xml]

    三月 22, 2017 9:58:17 上午 com.opensymphony.xwork2.config.providers.XmlConfigurationProvider info

    信息: Unable to locate configuration files of the name struts-plugin.xml, skipping

    三月 22, 2017 9:58:17 上午 com.opensymphony.xwork2.config.providers.XmlConfigurationProvider info

    信息: Parsing configuration file [struts-plugin.xml]

    三月 22, 2017 9:58:17 上午 com.opensymphony.xwork2.util.DomHelper warn

    警告: Local DTD is missing for publicID: -//Apache?Software?Foundation//DTD Struts Configuration?2.0//EN - defined mappings: {-//Apache Struts//XWork 1.1.1//EN=xwork-1.1.1.dtd, -//Apache Software Foundation//DTD Struts Configuration 2.0//EN=struts-2.0.dtd, -//Apache Struts//XWork 1.0//EN=xwork-1.0.dtd, -//Apache Software Foundation//DTD Struts Configuration 2.1//EN=struts-2.1.dtd, -//Apache Struts//XWork 1.1//EN=xwork-1.1.dtd, -//Apache Struts//XWork 2.1.3//EN=xwork-2.1.3.dtd, -//Apache Software Foundation//DTD Struts Configuration 2.3//EN=struts-2.3.dtd, -//Apache Struts//XWork 2.0//EN=xwork-2.0.dtd, -//Apache Software Foundation//DTD Struts Configuration 2.1.7//EN=struts-2.1.7.dtd, -//Apache Struts//XWork 2.1//EN=xwork-2.1.dtd, -//Apache Struts//XWork 2.3//EN=xwork-2.3.dtd}

    三月 22, 2017 9:58:18 上午 com.opensymphony.xwork2.config.providers.XmlConfigurationProvider info

    信息: Parsing configuration file [struts.xml]

    三月 22, 2017 9:58:18 上午 org.apache.struts2.config.AbstractBeanSelectionProvider info

    信息: Choosing bean (struts) for (com.opensymphony.xwork2.ObjectFactory)

    三月 22, 2017 9:58:18 上午 org.apache.struts2.config.AbstractBeanSelectionProvider info

    信息: Choosing bean (struts) for (com.opensymphony.xwork2.factory.ActionFactory)

    三月 22, 2017 9:58:18 上午 org.apache.struts2.config.AbstractBeanSelectionProvider info

    信息: Choosing bean (struts) for (com.opensymphony.xwork2.factory.ResultFactory)

    三月 22, 2017 9:58:18 上午 org.apache.struts2.config.AbstractBeanSelectionProvider info

    信息: Choosing bean (struts) for (com.opensymphony.xwork2.factory.ConverterFactory)

    三月 22, 2017 9:58:18 上午 org.apache.struts2.config.AbstractBeanSelectionProvider info

    信息: Choosing bean (struts) for (com.opensymphony.xwork2.factory.InterceptorFactory)

    三月 22, 2017 9:58:18 上午 org.apache.struts2.config.AbstractBeanSelectionProvider info

    信息: Choosing bean (struts) for (com.opensymphony.xwork2.factory.ValidatorFactory)

    三月 22, 2017 9:58:18 上午 org.apache.struts2.config.AbstractBeanSelectionProvider info

    信息: Choosing bean (struts) for (com.opensymphony.xwork2.factory.UnknownHandlerFactory)

    三月 22, 2017 9:58:18 上午 org.apache.struts2.config.AbstractBeanSelectionProvider info

    信息: Choosing bean (struts) for (com.opensymphony.xwork2.FileManagerFactory)

    三月 22, 2017 9:58:18 上午 org.apache.struts2.config.AbstractBeanSelectionProvider info

    信息: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.impl.XWorkConverter)

    三月 22, 2017 9:58:18 上午 org.apache.struts2.config.AbstractBeanSelectionProvider info

    信息: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.impl.CollectionConverter)

    三月 22, 2017 9:58:18 上午 org.apache.struts2.config.AbstractBeanSelectionProvider info

    信息: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.impl.ArrayConverter)

    三月 22, 2017 9:58:18 上午 org.apache.struts2.config.AbstractBeanSelectionProvider info

    信息: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.impl.DateConverter)

    三月 22, 2017 9:58:18 上午 org.apache.struts2.config.AbstractBeanSelectionProvider info

    信息: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.impl.NumberConverter)

    三月 22, 2017 9:58:18 上午 org.apache.struts2.config.AbstractBeanSelectionProvider info

    信息: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.impl.StringConverter)

    三月 22, 2017 9:58:18 上午 org.apache.struts2.config.AbstractBeanSelectionProvider info

    信息: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.ConversionPropertiesProcessor)

    三月 22, 2017 9:58:18 上午 org.apache.struts2.config.AbstractBeanSelectionProvider info

    信息: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.ConversionFileProcessor)

    三月 22, 2017 9:58:18 上午 org.apache.struts2.config.AbstractBeanSelectionProvider info

    信息: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.ConversionAnnotationProcessor)

    三月 22, 2017 9:58:18 上午 org.apache.struts2.config.AbstractBeanSelectionProvider info

    信息: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.TypeConverterCreator)

    三月 22, 2017 9:58:18 上午 org.apache.struts2.config.AbstractBeanSelectionProvider info

    信息: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.TypeConverterHolder)

    三月 22, 2017 9:58:18 上午 org.apache.struts2.config.AbstractBeanSelectionProvider info

    信息: Choosing bean (struts) for (com.opensymphony.xwork2.TextProvider)

    三月 22, 2017 9:58:18 上午 org.apache.struts2.config.AbstractBeanSelectionProvider info

    信息: Choosing bean (struts) for (com.opensymphony.xwork2.LocaleProvider)

    三月 22, 2017 9:58:18 上午 org.apache.struts2.config.AbstractBeanSelectionProvider info

    信息: Choosing bean (struts) for (com.opensymphony.xwork2.ActionProxyFactory)

    三月 22, 2017 9:58:18 上午 org.apache.struts2.config.AbstractBeanSelectionProvider info

    信息: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.ObjectTypeDeterminer)

    三月 22, 2017 9:58:18 上午 org.apache.struts2.config.AbstractBeanSelectionProvider info

    信息: Choosing bean (struts) for (org.apache.struts2.dispatcher.mapper.ActionMapper)

    三月 22, 2017 9:58:18 上午 org.apache.struts2.config.AbstractBeanSelectionProvider info

    信息: Choosing bean (jakarta) for (org.apache.struts2.dispatcher.multipart.MultiPartRequest)

    三月 22, 2017 9:58:18 上午 org.apache.struts2.config.AbstractBeanSelectionProvider info

    信息: Choosing bean (struts) for (org.apache.struts2.views.freemarker.FreemarkerManager)

    三月 22, 2017 9:58:18 上午 org.apache.struts2.config.AbstractBeanSelectionProvider info

    信息: Choosing bean (struts) for (org.apache.struts2.components.UrlRenderer)

    三月 22, 2017 9:58:18 上午 org.apache.struts2.config.AbstractBeanSelectionProvider info

    信息: Choosing bean (struts) for (com.opensymphony.xwork2.validator.ActionValidatorManager)

    三月 22, 2017 9:58:18 上午 org.apache.struts2.config.AbstractBeanSelectionProvider info

    信息: Choosing bean (struts) for (com.opensymphony.xwork2.util.ValueStackFactory)

    三月 22, 2017 9:58:18 上午 org.apache.struts2.config.AbstractBeanSelectionProvider info

    信息: Choosing bean (struts) for (com.opensymphony.xwork2.util.reflection.ReflectionProvider)

    三月 22, 2017 9:58:18 上午 org.apache.struts2.config.AbstractBeanSelectionProvider info

    信息: Choosing bean (struts) for (com.opensymphony.xwork2.util.reflection.ReflectionContextFactory)

    三月 22, 2017 9:58:18 上午 org.apache.struts2.config.AbstractBeanSelectionProvider info

    信息: Choosing bean (struts) for (com.opensymphony.xwork2.util.PatternMatcher)

    三月 22, 2017 9:58:18 上午 org.apache.struts2.config.AbstractBeanSelectionProvider info

    信息: Choosing bean (struts) for (org.apache.struts2.util.ContentTypeMatcher)

    三月 22, 2017 9:58:18 上午 org.apache.struts2.config.AbstractBeanSelectionProvider info

    信息: Choosing bean (struts) for (org.apache.struts2.dispatcher.StaticContentLoader)

    三月 22, 2017 9:58:18 上午 org.apache.struts2.config.AbstractBeanSelectionProvider info

    信息: Choosing bean (struts) for (com.opensymphony.xwork2.UnknownHandlerManager)

    三月 22, 2017 9:58:18 上午 org.apache.struts2.config.AbstractBeanSelectionProvider info

    信息: Choosing bean (struts) for (org.apache.struts2.views.util.UrlHelper)

    三月 22, 2017 9:58:18 上午 org.apache.struts2.config.AbstractBeanSelectionProvider info

    信息: Choosing bean (struts) for (com.opensymphony.xwork2.util.TextParser)

    三月 22, 2017 9:58:18 上午 org.apache.struts2.config.AbstractBeanSelectionProvider info

    信息: Choosing bean (struts) for (org.apache.struts2.dispatcher.DispatcherErrorHandler)

    三月 22, 2017 9:58:18 上午 org.apache.struts2.config.AbstractBeanSelectionProvider info

    信息: Choosing bean (struts) for (com.opensymphony.xwork2.security.ExcludedPatternsChecker)

    三月 22, 2017 9:58:18 上午 org.apache.struts2.config.AbstractBeanSelectionProvider info

    信息: Choosing bean (struts) for (com.opensymphony.xwork2.security.AcceptedPatternsChecker)

    三月 22, 2017 9:58:18 上午 org.apache.coyote.AbstractProtocol start

    信息: Starting ProtocolHandler [http-nio-8080]

    三月 22, 2017 9:58:18 上午 org.apache.coyote.AbstractProtocol start

    信息: Starting ProtocolHandler [ajp-nio-8009]

    三月 22, 2017 9:58:18 上午 org.apache.catalina.startup.Catalina start

    信息: Server startup in 2186 ms



  • 慕桂英2691441
    2017-03-22 09:50:32

    三月 22, 2017 9:48:19 上午 org.apache.tomcat.util.digester.SetPropertiesRule begin

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

    三月 22, 2017 9:48:19 上午 org.apache.catalina.startup.VersionLoggerListener log

    信息: Server version:        Apache Tomcat/9.0.0.M17

    三月 22, 2017 9:48:20 上午 org.apache.catalina.startup.VersionLoggerListener log

    信息: Server built:          Jan 10 2017 20:59:20 UTC

    三月 22, 2017 9:48:20 上午 org.apache.catalina.startup.VersionLoggerListener log

    信息: Server number:         9.0.0.0

    三月 22, 2017 9:48:20 上午 org.apache.catalina.startup.VersionLoggerListener log

    信息: OS Name:               Windows 7

    三月 22, 2017 9:48:20 上午 org.apache.catalina.startup.VersionLoggerListener log

    信息: OS Version:            6.1

    三月 22, 2017 9:48:20 上午 org.apache.catalina.startup.VersionLoggerListener log

    信息: Architecture:          amd64

    三月 22, 2017 9:48:20 上午 org.apache.catalina.startup.VersionLoggerListener log

    信息: Java Home:             C:\Program Files\Java\jre1.8.0_121

    三月 22, 2017 9:48:20 上午 org.apache.catalina.startup.VersionLoggerListener log

    信息: JVM Version:           1.8.0_121-b13

    三月 22, 2017 9:48:20 上午 org.apache.catalina.startup.VersionLoggerListener log

    信息: JVM Vendor:            Oracle Corporation

    三月 22, 2017 9:48:20 上午 org.apache.catalina.startup.VersionLoggerListener log

    信息: CATALINA_BASE:         E:\Eclipse\.metadata\.plugins\org.eclipse.wst.server.core\tmp0

    三月 22, 2017 9:48:20 上午 org.apache.catalina.startup.VersionLoggerListener log

    信息: CATALINA_HOME:         C:\apache-tomcat-9.0.0.M17

    三月 22, 2017 9:48:20 上午 org.apache.catalina.startup.VersionLoggerListener log

    信息: Command line argument: -Dcatalina.base=E:\Eclipse\.metadata\.plugins\org.eclipse.wst.server.core\tmp0

    三月 22, 2017 9:48:20 上午 org.apache.catalina.startup.VersionLoggerListener log

    信息: Command line argument: -Dcatalina.home=C:\apache-tomcat-9.0.0.M17

    三月 22, 2017 9:48:20 上午 org.apache.catalina.startup.VersionLoggerListener log

    信息: Command line argument: -Dwtp.deploy=E:\Eclipse\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps

    三月 22, 2017 9:48:20 上午 org.apache.catalina.startup.VersionLoggerListener log

    信息: Command line argument: -Djava.endorsed.dirs=C:\apache-tomcat-9.0.0.M17\endorsed

    三月 22, 2017 9:48:20 上午 org.apache.catalina.startup.VersionLoggerListener log

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

    三月 22, 2017 9:48:20 上午 org.apache.catalina.core.AprLifecycleListener lifecycleEvent

    信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre1.8.0_121\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Program Files/Java/jre1.8.0_121/bin/server;C:/Program Files/Java/jre1.8.0_121/bin;C:/Program Files/Java/jre1.8.0_121/lib/amd64;C:\Program Files\Java\JDK;/bin;C:\ProgramData\Oracle\Java\javapath;.;C:\Program Files\Java\JDK;C:\Program Files\Java\JDK\bin;.;E:\MySQL\mysql-5.7.17-winx64\bin;.;C:\Windows\System32;C:\Program Files\MySQL\MySQL Server 5.5\bin;;E:\Eclipse\eclipse;;.

    三月 22, 2017 9:48:20 上午 org.apache.coyote.AbstractProtocol init

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

    三月 22, 2017 9:48:20 上午 org.apache.tomcat.util.net.NioSelectorPool getSharedSelector

    信息: Using a shared selector for servlet write/read

    三月 22, 2017 9:48:20 上午 org.apache.coyote.AbstractProtocol init

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

    三月 22, 2017 9:48:20 上午 org.apache.tomcat.util.net.NioSelectorPool getSharedSelector

    信息: Using a shared selector for servlet write/read

    三月 22, 2017 9:48:20 上午 org.apache.catalina.startup.Catalina load

    信息: Initialization processed in 1279 ms

    三月 22, 2017 9:48:20 上午 org.apache.catalina.core.StandardService startInternal

    信息: Starting service Catalina

    三月 22, 2017 9:48:20 上午 org.apache.catalina.core.StandardEngine startInternal

    信息: Starting Servlet Engine: Apache Tomcat/9.0.0.M17

    三月 22, 2017 9:48:21 上午 org.apache.jasper.servlet.TldScanner scanJars

    信息: 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.

    三月 22, 2017 9:48:21 上午 com.opensymphony.xwork2.config.providers.XmlConfigurationProvider info

    信息: Parsing configuration file [struts-default.xml]

    三月 22, 2017 9:48:21 上午 org.apache.struts2.dispatcher.Dispatcher error

    严重: Dispatcher initialization failed

    Unable to load configuration. - bean - jar:file:/E:/Eclipse/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/Test/WEB-INF/lib/struts2-core-2.3.32.jar!/struts-default.xml:98:87

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

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

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

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

    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: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:4563)

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

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

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

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

    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)

    Caused by: Unable to load bean: type: class:org.apache.struts2.views.freemarker.FreemarkerThemeTemplateLoader - bean - jar:file:/E:/Eclipse/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/Test/WEB-INF/lib/struts2-core-2.3.32.jar!/struts-default.xml:98:87

    at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:247)

    at org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.java:102)

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

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

    ... 17 more

    Caused by: java.lang.NoClassDefFoundError: freemarker/cache/TemplateLoader

    at java.lang.ClassLoader.defineClass1(Native Method)

    at java.lang.ClassLoader.defineClass(Unknown Source)

    at java.security.SecureClassLoader.defineClass(Unknown Source)

    at org.apache.catalina.loader.WebappClassLoaderBase.findClassInternal(WebappClassLoaderBase.java:2267)

    at org.apache.catalina.loader.WebappClassLoaderBase.findClass(WebappClassLoaderBase.java:803)

    at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1244)

    at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1109)

    at com.opensymphony.xwork2.util.ClassLoaderUtil.loadClass(ClassLoaderUtil.java:144)

    at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:218)

    ... 20 more

    Caused by: java.lang.ClassNotFoundException: freemarker.cache.TemplateLoader

    at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1275)

    at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1109)

    ... 29 more


    三月 22, 2017 9:48:21 上午 org.apache.catalina.core.StandardContext filterStart

    严重: Exception starting filter struts2

    Unable to load configuration. - bean - jar:file:/E:/Eclipse/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/Test/WEB-INF/lib/struts2-core-2.3.32.jar!/struts-default.xml:98:87

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

    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: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:4563)

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

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

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

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

    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)

    Caused by: Unable to load configuration. - bean - jar:file:/E:/Eclipse/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/Test/WEB-INF/lib/struts2-core-2.3.32.jar!/struts-default.xml:98:87

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

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

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

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

    ... 14 more

    Caused by: Unable to load bean: type: class:org.apache.struts2.views.freemarker.FreemarkerThemeTemplateLoader - bean - jar:file:/E:/Eclipse/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/Test/WEB-INF/lib/struts2-core-2.3.32.jar!/struts-default.xml:98:87

    at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:247)

    at org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.java:102)

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

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

    ... 17 more

    Caused by: java.lang.NoClassDefFoundError: freemarker/cache/TemplateLoader

    at java.lang.ClassLoader.defineClass1(Native Method)

    at java.lang.ClassLoader.defineClass(Unknown Source)

    at java.security.SecureClassLoader.defineClass(Unknown Source)

    at org.apache.catalina.loader.WebappClassLoaderBase.findClassInternal(WebappClassLoaderBase.java:2267)

    at org.apache.catalina.loader.WebappClassLoaderBase.findClass(WebappClassLoaderBase.java:803)

    at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1244)

    at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1109)

    at com.opensymphony.xwork2.util.ClassLoaderUtil.loadClass(ClassLoaderUtil.java:144)

    at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:218)

    ... 20 more

    Caused by: java.lang.ClassNotFoundException: freemarker.cache.TemplateLoader

    at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1275)

    at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1109)

    ... 29 more


    三月 22, 2017 9:48:21 上午 org.apache.catalina.core.StandardContext startInternal

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

    三月 22, 2017 9:48:21 上午 org.apache.catalina.core.StandardContext startInternal

    严重: Context [/Test] startup failed due to previous errors

    三月 22, 2017 9:48:21 上午 org.apache.coyote.AbstractProtocol start

    信息: Starting ProtocolHandler [http-nio-8080]

    三月 22, 2017 9:48:21 上午 org.apache.coyote.AbstractProtocol start

    信息: Starting ProtocolHandler [ajp-nio-8009]

    三月 22, 2017 9:48:21 上午 org.apache.catalina.startup.Catalina start

    信息: Server startup in 1121 ms


  • _泪訁
    2017-03-22 02:50:09

    jar包重新导入下。或者换jar包试试。代码我觉得没写什么业务逻辑比较简单。估计没什么问题