问题描述
- eclipse tomcat插件 报错
-
[10 20:43:10,321 INFO ] [localhost-startStop-1] annotation.ClassPathBeanDefinitionScanner - JSR-250 'javax.annotation.ManagedBean' found and supported for component scanning
[10 20:43:10,643 INFO ] [localhost-startStop-1] xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [config/spring/application-bean.xml]
[10 20:43:11,287 INFO ] [localhost-startStop-1] config.PropertyPlaceholderConfigurer - Loading properties file from URL [file:/C:/Users/Think/workspace/iptp/build/classes/config/jdbc.properties]
[10 20:43:11,731 INFO ] [localhost-startStop-1] support.DefaultListableBeanFactory - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@163797e: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,studentAction,userAction,iStudentDao,iUserDao,iStudentService,iUserService,org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor#0,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0,dataSource,sqlSessionFactory,sqlSessionTemplate,transactionManager,org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0,org.springframework.transaction.interceptor.TransactionInterceptor#0,org.springframework.transaction.config.internalTransactionAdvisor,org.springframework.context.annotation.ConfigurationClassPostProcessor$ImportAwareBeanPostProcessor#0]; root of factory hierarchy
log4j:ERROR A "org.apache.log4j.xml.DOMConfigurator" object is not assignable to a "org.apache.log4j.spi.Configurator" variable.
log4j:ERROR The class "org.apache.log4j.spi.Configurator" was loaded by
log4j:ERROR [sun.misc.Launcher$AppClassLoader@644d46] whereas object of type
log4j:ERROR "org.apache.log4j.xml.DOMConfigurator" was loaded by [WebappClassLoader
context: /iptp
delegate: false
----------> Parent Classloader:
java.net.URLClassLoader@1ebcae2
].
log4j:ERROR Could not instantiate configurator [org.apache.log4j.xml.DOMConfigurator].
[10 20:43:14,171 INFO ] [localhost-startStop-1] context.ContextLoader - Root WebApplicationContext: initialization completed in 4784 ms
[10 20:43:15,496 INFO ] [localhost-startStop-1] providers.XmlConfigurationProvider - Parsing configuration file [struts-default.xml]
[10 20:43:15,811 INFO ] [localhost-startStop-1] providers.XmlConfigurationProvider - Parsing configuration file [struts-plugin.xml]
时间: 2024-11-08 19:12:10