2015-03-03 14:39:32,657 INFO (org.sPRingframework.web.context.ContextLoader:296) - Root WebapplicationContext: initialization completed in 3735 ms2015-03-03 14:39:32,740 INFO (com.opensymphony.xwork2.config.providers.xmlConfigurationProvider:42) - Parsing configuration file [struts-default.xml]2015-03-03 14:39:44,805 ERROR (org.apache.struts2.dispatcher.Dispatcher:38) - Dispatcher initialization failedUnable to load configuration. - Class: java.net.PlainSocketImplFile: PlainSocketImpl.javaMethod: connectLine: 195 - java/net/PlainSocketImpl.java:195:-1 at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:69) at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:380) at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:424) at org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:195) 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.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:115) at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4071) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4725) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1079) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1002) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:506) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1315) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:840) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463) at org.apache.catalina.core.StandardService.start(StandardService.java:525) at org.apache.catalina.core.StandardServer.start(StandardServer.java:754) at org.apache.catalina.startup.Catalina.start(Catalina.java:595) at sun.reflect.NativeMethodaccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)Caused by: Unable to load jar:file:/D:/apache-tomcat-6.0.32/webapps/LGHBSP/WEB-INF/lib/struts2-json-plugin-2.3.14.2.jar!/struts-plugin.xml - Class: java.net.PlainSocketImplFile: PlainSocketImpl.javaMethod: connectLine: 195 - java/net/PlainSocketImpl.java:195:-1 at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadConfigurationFiles(XmlConfigurationProvider.java:909) at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadDocuments(XmlConfigurationProvider.java:154) at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.init(XmlConfigurationProvider.java:121) at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:179) at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66) ... 30 moreCaused by: struts.apache.org - Class: java.net.PlainSocketImplFile: PlainSocketImpl.javaMethod: connectLine: 195 - java/net/PlainSocketImpl.java:195:-1 at com.opensymphony.xwork2.util.DomHelper.parse(DomHelper.java:115) at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadConfigurationFiles(XmlConfigurationProvider.java:904) ... 34 moreCaused by: java.net.UnknownHostException: struts.apache.org at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:195) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:529) at java.net.Socket.connect(Socket.java:478) at sun.net.NetworkClient.doConnect(NetworkClient.java:163) at sun.net.www.http.HttpClient.openServer(HttpClient.java:411) at sun.net.www.http.HttpClient.openServer(HttpClient.java:525) at sun.net.www.http.HttpClient.<init>(HttpClient.java:208) at sun.net.www.http.HttpClient.New(HttpClient.java:291) at sun.net.www.http.HttpClient.New(HttpClient.java:310) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:987) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:923) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:841) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1195) at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:675) at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(XMLEntityManager.java:1313) at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDTDEntity(XMLEntityManager.java:1280) at com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.setInputSource(XMLDTDScannerImpl.java:283) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.dispatch(XMLDocumentScannerImpl.java:1191) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.next(XMLDocumentScannerImpl.java:1087) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:1000) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:647) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522) at javax.xml.parsers.SAXParser.parse(SAXParser.java:395) at com.opensymphony.xwork2.util.DomHelper.parse(DomHelper.java:113) ... 35 more2015-3-3 14:39:44 org.apache.catalina.core.StandardContext start严重: Error filterStart2015-3-3 14:39:44 org.apache.catalina.core.StandardContext start严重: Context [/LGHBSP] startup failed due to previous errors2015-03-03 14:39:44,834 INFO (org.springframework.web.context.support.XmlWebApplicationContext:1020) - Closing Root WebApplicationContext: startup date [Tue Mar 03 14:39:28 CST 2015]; root of context hierarchy2015-03-03 14:39:44,835 INFO (org.springframework.beans.factory.support.DefaultListableBeanFactory:433) - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@559b808a: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,administrativeVillageAction,aqpoAction,BffsAction,BlpAction,CappatlbAction,censusAction,CspAction,FertilizerAction,FishqsAction,GatebasicAction,GeneralQueryAction,LaketclsAction,LanduseAction,lifeAction,LlesAction,PlwaterAction,PspAction,PuapAction,PumpingbasicAction,qsesAction,RdbasicAction,SlappAction,SoilerosionAction,StatisticAnalysisAction,SysDictAction,SysLogAction,SysRoleAction,SysUserAction,TourismAreaAction,TourismSewageAction,TudpsAction,WaterfowlsAction,WlmAction,XzqhAction,administrativeVillageDaoImpl,aqpoDaoImpl,baseDataDaoImpl,bffsDaoImpl,blpDaoImpl,cappatlbDaoImpl,censusDaoImpl,cspDaoImpl,fertilizerDaoImpl,fishqsDaoImpl,gatebasicDaoImpl,laketclsDaoImpl,landuseDaoImpl,lifeDaoImpl,llesDaoImpl,plwaterDaoImpl,pspDaoImpl,puapDaoImpl,pumpingbasicDaoImpl,qsesDaoImpl,rdbasicDaoImpl,slappDaoImpl,soilerosionDaoImpl,sysDictDaoImpl,sysLogDaoImpl,sysRoleDaoImpl,sysUserDaoImpl,tourismAreaDaoImpl,tourismSewageDaoImpl,tudPSDaoImpl,waHabitasDaoImpl,waterfowlsDaoImpl,wlmDaoImpl,administrativeVillageManagerImpl,aqpoManagerImpl,baseDataManagerImpl,bffsManagerImpl,blpManagerImpl,cappatlbManagerImpl,censusManagerImpl,cspManagerImpl,fertilizerManagerImpl,fishqsManagerImpl,gatebasicManagerImpl,generalQueryManagerImpl,laketclsManagerImpl,landuseManagerImpl,lifeManagerImpl,llesManagerImpl,mapQueryCommonResultManagerImpl,plwaterManagerImpl,pspManagerImpl,puapManagerImpl,pumpingbasicManagerImpl,qsesManagerImpl,rdbasicManagerImpl,slappManagerImpl,soilerosionManagerImpl,statisticAnalysisManagerImpl,sysDictManagerImpl,sysLogManagerImpl,sysRoleManagerImpl,sysUserManagerImpl,tourismAreaManagerImpl,tourismSewageManagerImpl,tudpsManagerImpl,waterfowlsManagerImpl,wlmManagerImpl,xzqhManagerImpl,utilTool,org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0,dataSource,sessionFactory,txManager,mapQueryCommonResultDAO,queryDao,statisticAnalysisDao,xzqhDao,org.springframework.context.annotation.ConfigurationClassPostProcessor$ImportAwareBeanPostProcessor#0]; root of factory hierarchy2015-03-03 14:39:44,848 INFO (org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean:1440) - Closing Hibernate SessionFactory2015-3-3 14:39:44 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc严重: The web application [/LGHBSP] registered the JDBC driver [Oracle.jdbc.OracleDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
解决办法 包冲突,将struts2-json-plugin-2.3.14.2.jar 包换成 struts2-json-plugin-2.2.3.jar ,冲突可解决
新闻热点
疑难解答