tomcat启动报错,求高人指点 急急急急!!!!!!!!!!!!!!!!

遇见_2955 2011-06-22 01:40:34
2011-6-22 13:35:32 org.apache.catalina.core.AprLifecycleListener init
信息: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\Program Files\Genuitec\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\bin;D:\Program Files\Genuitec\Common\plugins\com.genuitec.eclipse.easie.tomcat.myeclipse_8.5.0.me201003121946\tomcat\bin
2011-6-22 13:35:32 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2011-6-22 13:35:32 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 510 ms
2011-6-22 13:35:32 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2011-6-22 13:35:32 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.13
- No beans defined in application context [org.codehaus.xfire.transport.http.XFireConfigurableServlet$GenericWebApplicationContextX;hashCode=31952022]
- Unable to locate MessageSource with name 'messageSource': using default [org.springframework.context.support.DelegatingMessageSource@12bf892]
- Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using default [org.springframework.context.event.SimpleApplicationEventMulticaster@1c7980c]
- Unable to locate ThemeSource with name 'themeSource': using default [org.springframework.ui.context.support.ResourceBundleThemeSource@6a3960]
- Pre-instantiating singletons in factory [org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans []; root of BeanFactory hierarchy]
- Loading XML bean definitions from class path resource [org/codehaus/xfire/spring/xfire.xml]
- Loading XML bean definitions from class path resource [org/codehaus/xfire/spring/customEditors.xml]
- Loading XML bean definitions from class path resource [META-INF/xfire/services.xml]
- 10 beans defined in application context [org.codehaus.xfire.spring.GenericApplicationContext;hashCode=26285376]
- Unable to locate MessageSource with name 'messageSource': using default [org.springframework.context.support.DelegatingMessageSource@115d06c]
- Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using default [org.springframework.context.event.SimpleApplicationEventMulticaster@126a29c]
- Pre-instantiating singletons in factory [org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [xfire.customEditorConfigurer,xfire.serviceRegistry,xfire.transportManager,xfire,xfire.typeMappingRegistry,xfire.aegisBindingProvider,xfire.serviceFactory,xfire.servletController,xfire.messageServiceFactory,xfire.messageBindingProvider]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans []; root of BeanFactory hierarchy]
2011-6-22 13:35:35 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8080
2011-6-22 13:35:35 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8009
2011-6-22 13:35:35 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/78 config=null
2011-6-22 13:35:35 org.apache.catalina.startup.Catalina start
信息: Server startup in 2841 ms
...全文
459 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
JAVAJKjiankeJK 2011-06-22
  • 打赏
  • 举报
回复
如果确定自己的spring配置没问题,那楼说说的jar冲突就是正解
皮皮 2011-06-22
  • 打赏
  • 举报
回复
XFire 使用Spring1.2×版本的时候services.xml的配置方式是

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://xfire.codehaus.org/config/1.0">
<service>

</service>

</beans>

上面这种方式在spirng 2.X中会报错。

XFire 使用Spring 2×版本的时候services.xml的配置方式改为

<?xml version="1.0" encoding="UTF-8"?>
<beans>
<service xmlns="http://xfire.codehaus.org/config/1.0">

</service>

</beans>
acertang 2011-06-22
  • 打赏
  • 举报
回复
或者
  jar包,不兼容,myeclipse6.0就出现了,hibernate jar包与spring jar包不兼容的。

  asm.jar----hibernate所依赖的

  asm.2.2.3.jar----spring所依赖的

  删掉asm.2.2.3.jar就解决问题了。

  
皮皮 2011-06-22
  • 打赏
  • 举报
回复
配制文件发一下。

JAVAJKjiankeJK 2011-06-22
  • 打赏
  • 举报
回复
用的是xfire和spring结合啊,那肯定是spring中那个地方写的不正确
acertang 2011-06-22
  • 打赏
  • 举报
回复
出现这种情况是这表示没有找到APR
简要解决办法:去 http://tomcat.heanet.ie/native/ 下载编译好的tcnative-1.dll文件,拷贝至jdk\bin下,再启动就可以成功加载APR了。
遇见_2955 2011-06-22
  • 打赏
  • 举报
回复
怎么没人回答呢 !!!

81,092

社区成员

发帖
与我相关
我的任务
社区描述
Java Web 开发
社区管理员
  • Web 开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧