新建的一个工程(刚刚add struts包,没其他任何操作)一启动tomcat 7.0下载就出现如下异常,求解答

Tomcat服务启动一段时间后出现如下的连接异常
[问题点数:50分,结帖人trwhoya]
Tomcat服务启动一段时间后出现如下的连接异常
[问题点数:50分,结帖人trwhoya]
不显示删除回复
显示所有回复
显示星级回复
显示得分回复
只显示楼主
相关帖子推荐:
本帖子已过去太久远了,不再提供回复功能。锁定老帖子
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (1)
zhuxiaoqiu
等级: 初级会员
来自: 深圳
发表时间:&&
最近在自学Struts2的过程中出现一个问题,应用老是跑不起来,就连最简单的HelloWorld都不行。在MyEclipse中部署应用时,控制台会出一个警告信息:Could not parse struts.locale setting, substituting default VM locale。按照网上朋友们的解决方法在struts.xml中增加配置语句&constant name="struts.locale" value="en_GB" /constant&但问题依然存在。后来一步步的检查,发现在tomcat_home/webapp/myapp/WEN-INF/classes/lib目录内还有一个lib目录,这个../lib/lib目录下也有struts的类库。然后才明白是怎么回事。原来是我在MyEclipse中新建应用时,直接在其他应用的lib目录上右键拷贝再回来粘贴,这样把整个lib目录也拷贝过来了,所以导致..lib下面还出现一个lib目录。将这个目录删除后应用就可以跑起来了。
跳转论坛:移动开发技术
Web前端技术
Java企业应用
编程语言技术为什么每次新建一个web project后,然后再添加struts 2.1 capabilities,启动tomcat6 没有错,一经部署,开始报下面的错误呢?
[问题点数:25分,结帖人Clover139]
为什么每次新建一个web project后,然后再添加struts 2.1 capabilities,启动tomcat6 没有错,一经部署,开始报下面的错误呢?
[问题点数:25分,结帖人Clover139]
不显示删除回复
显示所有回复
显示星级回复
显示得分回复
只显示楼主
相关帖子推荐:
本帖子已过去太久远了,不再提供回复功能。温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!&&|&&
LOFTER精选
阅读(1552)|
用微信&&“扫一扫”
将文章分享到朋友圈。
用易信&&“扫一扫”
将文章分享到朋友圈。
历史上的今天
loftPermalink:'',
id:'fks_',
blogTitle:'部署一个Web工程到Tomcat 时出现 Exploded location overlaps an existing',
blogAbstract:'
办法1:在项目上点右键,-&MyEclipse-&web-&web context-root:改成想要的名称就可以了
办法2:或者在该项目路径下的.mymetadata文件中修改context-root为想要修改的名称.',
blogTag:'web工程,tomcat,布署',
blogUrl:'blog/static/',
isPublished:1,
istop:false,
modifyTime:0,
publishTime:1,
permalink:'blog/static/',
commentCount:0,
mainCommentCount:0,
recommendCount:0,
bsrk:-100,
publisherId:0,
recomBlogHome:false,
currentRecomBlog:false,
attachmentsFileIds:[],
groupInfo:{},
friendstatus:'none',
followstatus:'unFollow',
pubSucc:'',
visitorProvince:'',
visitorCity:'',
visitorNewUser:false,
postAddInfo:{},
mset:'000',
remindgoodnightblog:false,
isBlackVisitor:false,
isShowYodaoAd:false,
hostIntro:'',
hmcon:'0',
selfRecomBlogCount:'0',
lofter_single:''
{list a as x}
{if x.moveFrom=='wap'}
{elseif x.moveFrom=='iphone'}
{elseif x.moveFrom=='android'}
{elseif x.moveFrom=='mobile'}
${a.selfIntro|escape}{if great260}${suplement}{/if}
{list a as x}
推荐过这篇日志的人:
{list a as x}
{if !!b&&b.length>0}
他们还推荐了:
{list b as y}
转载记录:
{list d as x}
{list a as x}
{list a as x}
{list a as x}
{list a as x}
{if x_index>4}{break}{/if}
${fn2(x.publishTime,'yyyy-MM-dd HH:mm:ss')}
{list a as x}
{if !!(blogDetail.preBlogPermalink)}
{if !!(blogDetail.nextBlogPermalink)}
{list a as x}
{if defined('newslist')&&newslist.length>0}
{list newslist as x}
{if x_index>7}{break}{/if}
{list a as x}
{var first_option =}
{list x.voteDetailList as voteToOption}
{if voteToOption==1}
{if first_option==false},{/if}&&“${b[voteToOption_index]}”&&
{if (x.role!="-1") },“我是${c[x.role]}”&&{/if}
&&&&&&&&${fn1(x.voteTime)}
{if x.userName==''}{/if}
网易公司版权所有&&
{list x.l as y}
{if defined('wl')}
{list wl as x}{/list}请问一个启动tomcat时发生的异常org.apache.catalina.core.StandardContext listenerStart
&来源:读书人网&【读书人网():综合教育门户网站】
请教一个启动tomcat时发生的错误org.apache.catalina.core.StandardContext listenerStart 9:46:
请教一个启动tomcat时发生的错误org.apache.catalina.core.StandardContext listenerStart 9:46:24 org.apache.catalina.core.StandardContext listenerStart严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListenerorg.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Failed to import bean definitions from relative location [biz-context.xml]Offending resource: ServletContext resource [/WEB-INF/common-context.xml]; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from ServletContext resource [/WEB-INF/biz-context.xml]; nested exception is java.lang.IllegalStateException: Annotation-specified bean name 'sysParamDAO' for bean class [com.focoon.agilecollab.generated.dao.impl.SysParamDAOImpl] conflicts with existing, non-compatible bean definition of same name and class [com.mon.biz.integration.dao.impl.SysParamDAOImpl]at org.springframework.beans.factory.parsing.FailFastProblemReporter.error(FailFastProblemReporter.java:68) &
巴拉巴拉Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from ServletContext resource [/WEB-INF/biz-context.xml]; nested exception is java.lang.IllegalStateException: Annotation-specified bean name 'sysParamDAO' for bean class [com.focoon.agilecollab.generated.dao.impl.SysParamDAOImpl] conflicts with existing, non-compatible bean definition of same name and class [com.mon.biz.integration.dao.impl.SysParamDAOImpl]巴拉巴拉 9:46:24 org.apache.catalina.core.StandardContext start严重: Error listenerStart 9:46:24 org.apache.catalina.core.StandardContext start严重: Context [/agilecollab] startup failed due to previous errors 9:46:24 org.apache.catalina.core.ApplicationContext log信息: Closing Spring root WebApplicationContext 9:46:24 org.apache.catalina.loader.WebappClassLoader clearsJdbc严重: The web application [/agilecollab] registered the JBDC driver [org.h2.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. 9:46:24 org.apache.catalina.loader.WebappClassLoader clearsJdbc严重: The web application [/agilecollab] registered the JBDC driver [org.h2.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. 9:46:24 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc严重: The web application [/agilecollab] registered the JBDC driver [org.h2.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. 9:46:24 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc严重: The web application [/agilecollab] registered the JBDC driver [org.h2.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. 9:46:24 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc严重: The web application [/agilecollab] registered the JBDC driver [org.h2.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. 9:46:24 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc严重: The web application [/agilecollab] registered the JBDC driver [org.h2.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. 9:46:24 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc严重: The web application [/agilecollab] registered the JBDC driver [org.h2.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
9:46:24 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc严重: The web application [/agilecollab] registered the JBDC driver [org.h2.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. 9:46:24 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc严重: The web application [/agilecollab] registered the JBDC driver [org.h2.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. 9:46:24 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc严重: The web application [/agilecollab] registered the JBDC driver [org.h2.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. 9:46:24 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc严重: The web application [/agilecollab] registered the JBDC driver [org.h2.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. 9:46:24 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc严重: The web application [/agilecollab] registered the JBDC driver [org.h2.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.[解决办法] org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from ServletContext resource [/WEB-INF/biz-context.xml]; nested exception is java.lang.IllegalStateException: Annotation-specified bean name 'sysParamDAO' for bean class [com.focoon.agilecollab.generated.dao.impl.SysParamDAOImpl] conflicts with existing, non-compatible bean definition of same name and class [com.mon.biz.integration.dao.impl.SysParamDAOImpl

我要回帖

更多关于 apache tomcat 的文章

 

随机推荐