2015-03-03 14:39:32,657 INFO (org.springframework.web.context.ContextLoader:296
) - Root WebApplicationContext: initialization completed in 3735 ms
2015-03-03 14:39:32,740 INFO (com.opensymphony.xwork2.config.providers.XmlConfi
gurationProvider:42) - Parsing configuration file [struts-default.xml]
2015-03-03 14:39:44,805 ERROR (org.apache.struts2.dispatcher.Dispatcher:38) - Di
spatcher initialization failed
Unable to load configuration. - Class: java.net.PlainSocketImpl
File: PlainSocketImpl.java
Method: connect
Line: 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(Di
spatcher.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(Applicatio
nFilterConfig.java:295)
at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(Applica
tionFilterConfig.java:422)
at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFi
lterConfig.java:115)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.
java:4071)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
725)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:799)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:77
9)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)

at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.jav
a:1079)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.j
ava: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(Lifecycl
eSupport.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:5
25)
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(DelegatingMethodAcces
sorImpl.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-I
NF/lib/struts2-json-plugin-2.3.14.2.jar!/struts-plugin.xml - Class: java.net.Pla
inSocketImpl
File: PlainSocketImpl.java
Method: connect
Line: 195 - java/net/PlainSocketImpl.java:195:-1
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loa
dConfigurationFiles(XmlConfigurationProvider.java:909)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loa
dDocuments(XmlConfigurationProvider.java:154)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.ini
t(XmlConfigurationProvider.java:121)
at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContai
ner(DefaultConfiguration.java:179)
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(
ConfigurationManager.java:66)
... 30 more
Caused by: struts.apache.org - Class: java.net.PlainSocketImpl
File: PlainSocketImpl.java
Method: connect
Line: 195 - java/net/PlainSocketImpl.java:195:-1
at com.opensymphony.xwork2.util.DomHelper.parse(DomHelper.java:115)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loa
dConfigurationFiles(XmlConfigurationProvider.java:904)
... 34 more
Caused 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(HttpURLC
onnection.java:987)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConne
ction.java:923)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection
.java:841)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
nection.java:1195)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrent
Entity(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.startDTDEnti
ty(XMLEntityManager.java:1280)
at com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.setInputSou
rce(XMLDTDScannerImpl.java:283)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDri
ver.dispatch(XMLDocumentScannerImpl.java:1191)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDri
ver.next(XMLDocumentScannerImpl.java:1087)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$Prolog
Driver.next(XMLDocumentScannerImpl.java:1000)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(X
MLDocumentScannerImpl.java:647)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next
(XMLNSDocumentScannerImpl.java:140)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
ML11Configuration.java:808)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
ML11Configuration.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(Ab
stractSAXParser.java:1205)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.p
arse(SAXParserImpl.java:522)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
at com.opensymphony.xwork2.util.DomHelper.parse(DomHelper.java:113)
... 35 more
2015-3-3 14:39:44 org.apache.catalina.core.StandardContext start
严重: Error filterStart
2015-3-3 14:39:44 org.apache.catalina.core.StandardContext start
严重: Context [/LGHBSP] startup failed due to previous errors
2015-03-03 14:39:44,834 INFO (org.springframework.web.context.support.XmlWebApp
licationContext:1020) - Closing Root WebApplicationContext: startup date [Tue Ma
r 03 14:39:28 CST 2015]; root of context hierarchy
2015-03-03 14:39:44,835 INFO (org.springframework.beans.factory.support.Default
ListableBeanFactory:433) - Destroying singletons in org.springframework.beans.fa
ctory.support.DefaultListableBeanFactory@559b808a: defining beans [org.springfra
mework.context.annotation.internalConfigurationAnnotationProcessor,org.springfra
mework.context.annotation.internalAutowiredAnnotationProcessor,org.springframewo
rk.context.annotation.internalRequiredAnnotationProcessor,org.springframework.co
ntext.annotation.internalCommonAnnotationProcessor,org.springframework.context.a
nnotation.internalPersistenceAnnotationProcessor,administrativeVillageAction,aqp
oAction,BffsAction,BlpAction,CappatlbAction,censusAction,CspAction,FertilizerAct
ion,FishqsAction,GatebasicAction,GeneralQueryAction,LaketclsAction,LanduseAction
,lifeAction,LlesAction,PlwaterAction,PspAction,PuapAction,PumpingbasicAction,qse
sAction,RdbasicAction,SlappAction,SoilerosionAction,StatisticAnalysisAction,SysD
ictAction,SysLogAction,SysRoleAction,SysUserAction,TourismAreaAction,TourismSewa
geAction,TudpsAction,WaterfowlsAction,WlmAction,XzqhAction,administrativeVillage
DaoImpl,aqpoDaoImpl,baseDataDaoImpl,bffsDaoImpl,blpDaoImpl,cappatlbDaoImpl,censu
sDaoImpl,cspDaoImpl,fertilizerDaoImpl,fishqsDaoImpl,gatebasicDaoImpl,laketclsDao
Impl,landuseDaoImpl,lifeDaoImpl,llesDaoImpl,plwaterDaoImpl,pspDaoImpl,puapDaoImp
l,pumpingbasicDaoImpl,qsesDaoImpl,rdbasicDaoImpl,slappDaoImpl,soilerosionDaoImpl
,sysDictDaoImpl,sysLogDaoImpl,sysRoleDaoImpl,sysUserDaoImpl,tourismAreaDaoImpl,t
ourismSewageDaoImpl,tudpsDaoImpl,waHabitasDaoImpl,waterfowlsDaoImpl,wlmDaoImpl,a
dministrativeVillageManagerImpl,aqpoManagerImpl,baseDataManagerImpl,bffsManagerI
mpl,blpManagerImpl,cappatlbManagerImpl,censusManagerImpl,cspManagerImpl,fertiliz
erManagerImpl,fishqsManagerImpl,gatebasicManagerImpl,generalQueryManagerImpl,lak
etclsManagerImpl,landuseManagerImpl,lifeManagerImpl,llesManagerImpl,mapQueryComm
onResultManagerImpl,plwaterManagerImpl,pspManagerImpl,puapManagerImpl,pumpingbas
icManagerImpl,qsesManagerImpl,rdbasicManagerImpl,slappManagerImpl,soilerosionMan
agerImpl,statisticAnalysisManagerImpl,sysDictManagerImpl,sysLogManagerImpl,sysRo
leManagerImpl,sysUserManagerImpl,tourismAreaManagerImpl,tourismSewageManagerImpl
,tudpsManagerImpl,waterfowlsManagerImpl,wlmManagerImpl,xzqhManagerImpl,utilTool,
org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0,dataSou
rce,sessionFactory,txManager,mapQueryCommonResultDAO,queryDao,statisticAnalysisD
ao,xzqhDao,org.springframework.context.annotation.ConfigurationClassPostProcesso
r$ImportAwareBeanPostProcessor#0]; root of factory hierarchy
2015-03-03 14:39:44,848 INFO (org.springframework.orm.hibernate3.annotation.Ann
otationSessionFactoryBean:1440) - Closing Hibernate SessionFactory
2015-3-3 14:39:44 org.apache.catalina.loader.WebappClassLoader clearReferencesJd
bc
严重: The web application [/LGHBSP] registered the JDBC driver [oracle.jdbc.Orac
leDriver] but failed to unregister it when the web application was stopped. To p
revent 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 ,冲突可解决

javaweb 工程 tomcat启动报错的问你的更多相关文章

  1. Tomcat启动报错org.springframework.web.context.ContextLoaderListener类配置错误——SHH框架

    SHH框架工程,Tomcat启动报错org.springframework.web.context.ContextLoaderListener类配置错误 1.查看配置文件web.xml中是否配置.or ...

  2. tomcat启动报错 ERROR o.a.catalina.session.StandardManager 182 - Exception loading sessions from persiste

    系统:centos6.5 x86_64 jdk: 1.8.0_102 tomcat:8.0.37 tomcat 启动报错: ERROR o.a.catalina.session.StandardMan ...

  3. Tomcat启动报错:StandardServer.await: create[8005] java.net.BindException: Cannot assign requested address

    Tomcat启动报错:StandardServer.await: create[8005] java.net.BindException: Cannot assign requested addres ...

  4. tomcat启动报错Several ports (8080, 8009) required by Tomcat v6.0

    tomcat启动报错 如下图: 问题:8080.8009端口已经被占用. 解决办法: 1.在命令提示符下,输入netstat -aon | findstr 8080 2.继续输入taskkill -F ...

  5. tomcat启动报错

    [toc]启动错误 does not exist or is not a readable directory 问题:tomcat启动报错:does not exist or is not a rea ...

  6. [转]tomcat启动报错too low setting for -Xss

    tomcat启动报错too low setting for -Xss 网上给的答案都是调整Xss参数,其实不是正确的做法, -Xss:每个线程的Stack大小,“-Xss 15120” 这使得tomc ...

  7. Tomcat启动报错:[The configuration may be corrupt or incomplete]的解决方案

    1,场景说明: 偶然碰见Tomcat启动报错,此时并没有Add任何Web项目: Could not load the Tomcat server configuration at /Servers/T ...

  8. tomcat启动报错:Injection of autowired dependencies failed

    tomcat启动报错:Injectjion of autowired dependencies failed 环境: 操作系统:centos6.5 tomcat: 7.0.52 jdk:openjdk ...

  9. tomcat启动报错,找不到相应的 queue,从而引发内存泄漏

    tomcat启动报错,无法创建 bean listenerStatusChangeDealHandler, no queue 'STOCK.NOTIFY_CHANGE.INTER.CACHE.QUEU ...

随机推荐

  1. 基于http的多进程并发文件服务器

    1 可以掌握的知识点 (1) 线上部署时的守护应用 (2) 常规的文件操作,配置文件读取 (3) 网络编程,端口复用等文件 (4) 多进程知识 2 代码注释如下 test_httpd.h #inclu ...

  2. EIP权限工作流平台总结-3后端框架

    1.预览地址:www.eipflow.com (1) 权限工作流:www.demo.eipflow.com/Account/Login (2) 基础权限版:www.auth.eipflow.com/A ...

  3. C++内存管理之unique_ptr

    一个unique_ptr"拥有“他所指向的对象.与shared_ptr不同,某个时刻只能有一个unique_ptr指向一个给定的对象.当unique_ptr被销毁时,它所指向的对象也被销毁. ...

  4. Swoole 整合成一个小框架

    目录 概述 效果 代码 小结 概述 这是关于 Swoole 学习的第六篇文章:Swoole 整合成一个小框架. 第五篇:Swoole 多协议 多端口 的应用 第四篇:Swoole HTTP 的应用 第 ...

  5. PPT2010学习笔记(共20讲)

    第1讲  商务PPT中的必备元素 # 设计需打破规范 第2讲  封面页设计(一) 大图型封面页 # 基础知识点: 插入矩形和圆形 设置半透明色 设置字体变形效果 图片增强工具 利用过渡色虚化图片边缘 ...

  6. gulp使用文档

    gulp的优势 易于使用:通过代码优于配置的策略,Gulp让简单的任务简单,复杂的任务可管理. 构建快速:利用 Node.js 流的威力,你可以快速构建项目并减少频繁的 IO 操作. 插件高质:Gul ...

  7. 洛谷P2052 道路修建

    P2052 道路修建 题目描述 在 W 星球上有 n 个国家.为了各自国家的经济发展,他们决定在各个国家 之间建设双向道路使得国家之间连通.但是每个国家的国王都很吝啬,他们只愿 意修建恰好 n – 1 ...

  8. 洛谷P1047 校门外的树

    P1047 校门外的树 题目描述 某校大门外长度为L的马路上有一排树,每两棵相邻的树之间的间隔都是1米.我们可以把马路看成一个数轴,马路的一端在数轴0的位置,另一端在L的位置:数轴上的每个整数点,即0 ...

  9. 使用jmeter往指定文件中插入一定数量的数据(转)

    有一个需求,新建一批账号,把获取的账号相关信息存入文本文件,当文本文件保存的数据达到一定的数量,就自动停止新建账号. 分析下需求: 1.把账号信息保存到文件,需要使用bean shell脚本(bean ...

  10. Python之PIP安装

    Python有两个著名的包管理工具easy_install.py和pip.Python2.7的安装包中自带了easy_install.py,而pip需要手动安装.而在Python3.5之后都是默认安装 ...