请教一个启动tomcat时发生的错误org.apache.catalina.core.StandardContext listenerStart

haosinx 2012-07-31 10:14:13
2012-7-31 9:46:24 org.apache.catalina.core.StandardContext listenerStart
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.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.focoon.agilecollab.common.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.focoon.agilecollab.common.biz.integration.dao.impl.SysParamDAOImpl]
巴拉巴拉
2012-7-31 9:46:24 org.apache.catalina.core.StandardContext start
严重: Error listenerStart
2012-7-31 9:46:24 org.apache.catalina.core.StandardContext start
严重: Context [/agilecollab] startup failed due to previous errors
2012-7-31 9:46:24 org.apache.catalina.core.ApplicationContext log
信息: Closing Spring root WebApplicationContext
2012-7-31 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.
2012-7-31 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.
2012-7-31 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.
2012-7-31 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.
2012-7-31 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.
2012-7-31 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.
2012-7-31 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.
2012-7-31 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.
2012-7-31 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.
2012-7-31 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.
2012-7-31 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.
2012-7-31 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.
...全文
2410 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
五哥 2012-08-15
  • 打赏
  • 举报
回复
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

解析 biz-context.xml时报异常 ,说是 sysParamDAO是无效参数异常
haosinx 2012-07-31
  • 打赏
  • 举报
回复
[Quote=引用 2 楼 的回复:]
org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from ServletContext resource [/WEB-INF/biz-context.xml]; nested exception is java.lang.Illegal……
[/Quote]

您好 谢谢您的回复 可以具体说下么 我还是看不懂。。。。
五哥 2012-07-31
  • 打赏
  • 举报
回复
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.focoon.agilecollab.common.biz.integration.dao.impl.SysParamDAOImpl
五哥 2012-07-31
  • 打赏
  • 举报
回复
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.focoon.agilecollab.common.biz.integration.dao.impl.SysParamDAOImpl

58,446

社区成员

发帖
与我相关
我的任务
社区描述
Java Eclipse
社区管理员
  • Eclipse
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧