日期:2014-05-18  浏览次数:20869 次

tomcat发布war项目启动异常!
异常如下:

2014-1-5 11:54:23 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring root WebApplicationContext
2014-1-5 11:54:35 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.BeanCreationException: Error creating bean with name 'org.springframework.security.authentication.ProviderManager#0': Cannot create inner bean '(inner bean)' of type [org.springframework.security.config.authentication.AuthenticationManagerFactoryBean] while setting bean property 'parent'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#1': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.authenticationManager': Cannot resolve reference to bean 'org.springframework.security.authentication.dao.DaoAuthenticationProvider#0' while setting bean property 'providers' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.authentication.dao.DaoAuthenticationProvider#0': Cannot resolve reference to bean 'userDetailsService' while setting bean property 'userDetailsService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userDetailsService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.sinosoft.ebusiness.service.user.personal.service.facade.GeUserPersonalService com.sinosoft.ebusiness.service.user.personal.service.spring.UserDetailsServiceImpl.geUserPersonalService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'geUserPersonalService' defined in URL [jar:file:/E:/tomcat7/webapps/online/WEB-INF/lib/user-0.0.2-SNAPSHOT.jar!/spring/applicationContext-user.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bizCommonService' defined in URL [jar:file:/E:/tomcat7/webapps/online/WEB-INF/lib/basicBizInfo-0.0.2-SNAPSHOT.jar!/spring/applicationContext-basicBizInfo.xml]: Initialization of bean failed; nested exc