eclipse tomcat项目启动报错

问题描述

eclipse tomcat项目启动报错

[12 21:38:11,361 INFO ] [localhost-startStop-1] annotation.ClassPathBeanDefinitionScanner - JSR-250 'javax.annotation.ManagedBean' found and supported for component scanning
[12 21:38:12,168 INFO ] [localhost-startStop-1] xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [config/spring/application-bean.xml]
[12 21:38:14,239 INFO ] [localhost-startStop-1] config.PropertyPlaceholderConfigurer - Loading properties file from URL [file:/C:/Users/Think/workspace/iptp/build/classes/config/jdbc.properties]
[12 21:38:15,937 INFO ] [localhost-startStop-1] support.DefaultListableBeanFactory - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@19f3deb: 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: /xxxx
delegate: false
----------> Parent Classloader:
java.net.URLClassLoader@1ebcae2
].
log4j:ERROR Could not instantiate configurator [org.apache.log4j.xml.DOMConfigurator].
[12 21:38:23,465 INFO ] [localhost-startStop-1] context.ContextLoader - Root WebApplicationContext: initialization completed in 14496 ms
[12 21:38:25,825 INFO ] [localhost-startStop-1] providers.XmlConfigurationProvider - Parsing configuration file [struts-default.xml]
[12 21:38:26,796 INFO ] [localhost-startStop-1] providers.XmlConfigurationProvider - Parsing configuration file [struts-plugin.xml]

解决方案

缺少jar包吧 应该

解决方案二:

ERROR Could not instantiate configurator [org.apache.log4j.xml.DOMConfigurator]
从这段话看出来,log4J 配置出问题,或者log4J.Jar没有·

解决方案三:

tomcat的编译位置是不是有问题。错误里面显示找不到application-bean.配置文件 检查一下build-path

解决方案四:

log4J 配置出问题

解决方案五:

log4j有问题吧,看看相关的JAR包在不在

时间: 2024-10-26 05:48:32

eclipse tomcat项目启动报错的相关文章

tomcat部署一个新项目启动报错,老项目可以正常启动

问题描述 tomcat部署一个新项目启动报错,老项目可以正常启动 CompilerOracle: exclude org/hibernate/cfg/annotations/SimpleValueBinder.setType 2014-12-29 10:52:52 org.apache.catalina.core.AprLifecycleListener init 信息: Loaded APR based Apache Tomcat Native library 1.1.20. 2014-12-

eclipse中tomcat使用tomcat插件启动报错

问题描述 eclipse中tomcat使用tomcat插件启动报错 SEVERE: The web application with context path [/manager] was not deployed because it contained a deployment descriptor [D:Tomcat 7.0webappsmanagerMETA-INFcontext.xml] which may include configuration necessary for the

急,关于项目启动报错的问题

问题描述 急,关于项目启动报错的问题 是这样的,有a,b两个分项目,b项目是主项目然后在myeclipse中b项目build path引入了a项目然后b的类中可以引入a的类,直接在java文件最上面写import就行,但是b的spring.xml无法读取到a项目的spring.xml等xml文件(就是在b的xml中import的a的xml无法连接到)启动时报错,报找不到那个a的xml的错误 解决方案 Spring MVC项目启动报错信息__待解决关于项目启动报错一些新手问题weblogic启动项

jboss-JBoss部署web项目启动报错

问题描述 JBoss部署web项目启动报错 JBoss6.0 final,没有项目时正常启动,部署项目就会报错 20:07:12,070 INFO [AbstractJBossASServerBase] Server Configuration: JBOSS_HOME URL: file:/F:/DevelopTools/jboss-6.0.0.Final/ Bootstrap: $JBOSS_HOMEserver/default/conf/bootstrap.xml Common Base:

spring mvc-springmvc项目启动报错

问题描述 springmvc项目启动报错 报错如上 我按照网上的方法清空了 好多缓存文件之列的 但是没有用啊!! 上图自动咋生成了 spring_mvc.xml文件呢? 有没有知道的大神!!! 解决方案 后来重新试了一下 原来是 Dynastic web project 的名称命名问题 项目发布到tomcat上后 在 config/Catalina/localhost/目录下会生成和 项目名称一样的xml文件哦 错就错在我之前 给springMVC项目起名字的时候 写成了 spring MVC

DRP问题集结(一)-Tomcat无法启动,报错java.lang.NoClassDefFoundError: org/apache/juli/logging/LogFactory

             问题一:  Tomcat无法启动,报错java.lang.NoClassDefFoundError: org/apache/juli/logging/LogFactory           问题二:[Error]JavaWeb: 严重: Failed to initialize end point associated with ProtocolHandler ["http-bio-8080"]           问题三:The APR based Apa

tomcat不能启动 报错如图!

问题描述 tomcat不能启动 报错如图! 解决方案 tomcat 启动报错tomcat启动报错,不能正常创建连接池导入Maven项目,启动tomcat报错 解决方案二: jdk的版本要和tomcat的一致,解决了这个问题后如果还出错,那就是配置文件的内存不足!

项目启动报oracle错-项目启动报错,在网上查了好多资料还是为解决,求高手帮忙

问题描述 项目启动报错,在网上查了好多资料还是为解决,求高手帮忙 [14:22:13] [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1] WARN - com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@11765ae -- Acquisition Attempt Failed!!! Clearing pending acquires. While t

java-jboss7部署web项目启动报错,劳驾高手指点

问题描述 jboss7部署web项目启动报错,劳驾高手指点 16:25:27,433 ERROR org.jboss.msc.service.fail MSC0000 1: Failed to start service jboss.deployment.unit."edup.war".POST_MODULE: org.jbo ss.msc.service.StartException in service jboss.deployment.unit."edup.war&qu