日期:2014-05-19  浏览次数:20709 次

原myeclipse7.5中的struts2项目导入现在的myeclipse8.5无法正常启动项目
Java code
三月 29, 2012 2:13:56 上午 org.apache.catalina.core.AprLifecycleListener init
INFO: 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\jdk1.7.0_02\bin;C:\Program Files\Apache Software Foundation\Tomcat 6.0\bin
三月 29, 2012 2:13:56 上午 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
三月 29, 2012 2:13:56 上午 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 789 ms
三月 29, 2012 2:13:56 上午 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
三月 29, 2012 2:13:56 上午 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.35
三月 29, 2012 2:13:56 上午 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor manager.xml
三月 29, 2012 2:13:57 上午 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory docs
三月 29, 2012 2:13:57 上午 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
三月 29, 2012 2:13:57 上午 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory Struts2_0100_Introduction
三月 29, 2012 2:13:58 上午 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info
INFO: Parsing configuration file [struts-default.xml]
三月 29, 2012 2:13:58 上午 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info
INFO: Unable to locate configuration files of the name struts-plugin.xml, skipping
三月 29, 2012 2:13:58 上午 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info
INFO: Parsing configuration file [struts-plugin.xml]
三月 29, 2012 2:13:58 上午 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info
INFO: Parsing configuration file [struts.xml]
三月 29, 2012 2:13:58 上午 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info
INFO: Overriding property struts.i18n.reload - old value: false new value: true
三月 29, 2012 2:13:58 上午 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info
INFO: Overriding property struts.configuration.xml.reload - old value: false new value: true
三月 29, 2012 2:13:59 上午 org.apache.catalina.core.StandardContext filterStart
SEVERE: Exception starting filter struts2
java.lang.NullPointerException
    at com.opensymphony.xwork2.util.FileManager$FileRevision.needsReloading(FileManager.java:209)
    at com.opensymphony.xwork2.util.FileManager.fileNeedsReloading(FileManager.java:60)
    at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.needsReload(XmlConfigurationProvider.java:325)
    at org.apache.struts2.config.StrutsXmlConfigurationProvider.needsReload(StrutsXmlConfigurationProvider.java:168)
    at com.opensymphony.xwork2.config.ConfigurationManager.conditionalReload(ConfigurationManager.java:220)
    at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:61)
    at org.apache.struts2.dispatcher.Dispatcher.getContainer(Dispatcher.java:774)
    at org.apache.struts2.dispatcher.ng.InitOperations.initStaticContentLoader(InitOperations.java:77)
    at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:49)
    at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:295)
    at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:422)
    at org.apache.catalina.core.ApplicationFilte