当前位置: 代码迷 >> Eclipse >> 请问一个启动tomcat时发生的异常org.apache.catalina.core.StandardContext listenerStart
  详细解决方案

请问一个启动tomcat时发生的异常org.apache.catalina.core.StandardContext listenerStart

热度:439   发布时间:2016-04-23 12:26:53.0
请教一个启动tomcat时发生的错误org.apache.catalina.core.StandardContext listenerStart
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.
  相关解决方案