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

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条回答 默认 最新

  • JPF1024 2017-03-10 02:43
    关注

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

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(3条)

报告相同问题?

悬赏问题

  • ¥15 stata实证代码答疑
  • ¥15 MATLAB数据处理插值
  • ¥50 husky+jaco2实现在gazebo与rviz中联合仿真
  • ¥15 dpabi预处理报错:Error using y_ExtractROISignal (line 251)
  • ¥15 在虚拟机中配置flume,无法将slave1节点的文件采集到master节点中
  • ¥15 husky+kinova jaco2 仿真
  • ¥15 zigbee终端设备入网失败
  • ¥15 金融监管系统怎么对7+4机构进行监管的
  • ¥15 硬件IIC从模式的数据发送,中断数据的接收,不能用HAL库(按照时序图)
  • ¥20 QAxWidget上显示一个word文档后,如何直接在该QAxWidget上修改和保存word文档