qq_30432257
2017-03-10 02:15
采纳率: 36.4%
浏览 807
已采纳

tomcat发布项目报错,求各位大虾相助!!

信息: validateJarFile(D:\svn_text\trunk\WebContent\WEB-INF\lib\servlet-api2.4.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending cl
ass: javax/servlet/Servlet.class
[INFO ] 2017-03-10 09:52:55,078 - 当前授权期限剩余天数为: 295 天
[TDH] 2017年03月10日 09:52:80 -------------------------------
[TDH] 2017年03月10日 09:52:81 服务器正常启动...
[ERROR] 2017-03-10 09:52:55,762 - Context initialization failed
org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'CenterdataSource' defined in ServletContext resourc
e [/WEB-INF/config/ssfw/applicationContext-center-datasource.xml]: Could not resolve placeholder 'center.driverClassName'
at org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.processProperties(PropertyPlaceholderConfigurer.java:249)
at org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:74)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:472)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:334)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:189)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
at org.apache.catalina.core.StandardService.start(StandardService.java:525)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
当前JDK版本:20.45-b01
最大内存=1800MB; 总的内存=121MB; 空闲内存=93MB;
[SSFW] 2017年03月10日 09:52:55 服务器:发布框架版本_Ver.2.2.3
[SSFW] 2017年03月10日 09:52:55 服务器:已成功绑定Web容器上下文...
[SSFW] 2017年03月10日 09:52:55 服务器:网上消息文件上载临时路径->>D:\svn_text\trunk\WebContent\upload
[SSFW] 2017年03月10日 09:52:55 服务器:网上消息文件下载临时路径->>D:\svn_text\trunk\WebContent\wsxxBackUp
org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'CenterdataSource' defined in ServletContext resourc
e [/WEB-INF/config/ssfw/applicationContext-center-datasource.xml]: Could not resolve placeholder 'center.driverClassName'
at org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.processProperties(PropertyPlaceholderConfigurer.java:249)
at org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:74)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:472)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:334)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:189)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
at org.apache.catalina.core.StandardService.start(StandardService.java:525)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
[SSFW] 2017年03月10日 09:52:55 服务器:加载系统配置信息完成...
[ERROR] 2017-03-10 09:52:55,807 -
org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'CenterdataSource' defined in ServletContext resourc
e [/WEB-INF/config/ssfw/applicationContext-center-datasource.xml]: Could not resolve placeholder 'center.driverClassName'
at org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.processProperties(PropertyPlaceholderConfigurer.java:249)
at org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:74)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:472)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:334)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:189)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
at org.apache.catalina.core.StandardService.start(StandardService.java:525)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
[SSFW] 2017年03月10日 09:52:55 定时器:在线用户检测服务启动完成...
[SSFW] 2017年03月10日 09:52:55 无法读取WebConfig的信息
[DEBUG] 2017-03-10 09:52:55,824 - 加载文档转换配置文件信息:--->D:\svn_text\trunk\WebContent\WEB-INF\config\convertDir.properties
[DEBUG] 2017-03-10 09:52:55,826 - 加载程序内外网设置:--->D:\svn_text\trunk\WebContent\WEB-INF\config\system.properties
2017-3-10 9:52:55 org.apache.catalina.core.StandardContext start
严重: Error listenerStart
2017-3-10 9:52:55 org.apache.catalina.core.StandardContext start
严重: Context [/svn_text] startup failed due to previous errors
[TDH] 2017年03月10日 09:52:835 安全框架正常退出...
log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository.
2017-3-10 9:52:56 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor host-manager.xml
2017-3-10 9:52:56 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor manager.xml
2017-3-10 9:52:56 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory docs
2017-3-10 9:52:56 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory examples
2017-3-10 9:52:56 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory ROOT
2017-3-10 9:52:56 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8080
2017-3-10 9:52:56 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8009
2017-3-10 9:52:56 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/10 config=null
2017-3-10 9:52:56 org.apache.catalina.startup.Catalina start
信息: Server startup in 1718 ms

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

4条回答 默认 最新

  • Q544471255 2017-03-10 02:43
    已采纳

    检查下你的jar文件啊,另外看下jar文件是不是目录没放对,也可能是权限问题。

    点赞 评论
  • Mmmmm_2016 2017-03-10 02:21

    信息: Server startup in 1718 ms
    服务不是起来了啊

    点赞 评论
  • miaoch 2017-03-10 02:27

    不是有报错信息么org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'CenterdataSource' defined in ServletContext resource [/WEB-INF/config/ssfw/applicationContext-center-datasource.xml]: Could not resolve placeholder 'center.driverClassName'

    点赞 评论
  • 缺少jar包,或者jar包指向路径不对

    点赞 评论

相关推荐 更多相似问题