eclipse中启动tomcat报错

时间:2021-08-26 06:35:51
我在eclipse中启动tomcat是报错
九月 17, 2012 6:25:10 下午 org.apache.catalina.core.AprLifecycleListener init
严重: An incompatible version 1.1.20 of the APR based Apache Tomcat Native library is installed, while Tomcat requires version 1.1.24
九月 17, 2012 6:25:11 下午 org.apache.catalina.core.AprLifecycleListener init
严重: An incompatible version 1.1.20 of the APR based Apache Tomcat Native library is installed, while Tomcat requires version 1.1.24
九月 17, 2012 6:25:11 下午 org.apache.catalina.core.AprLifecycleListener init
严重: An incompatible version 1.1.20 of the APR based Apache Tomcat Native library is installed, while Tomcat requires version 1.1.24
九月 17, 2012 6:25:11 下午 org.apache.catalina.core.AprLifecycleListener init
严重: An incompatible version 1.1.20 of the APR based Apache Tomcat Native library is installed, while Tomcat requires version 1.1.24
九月 17, 2012 6:25:11 下午 org.apache.tomcat.util.digester.SetPropertiesRule begin
警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:gz' did not find a matching property.
九月 17, 2012 6:25:11 下午 org.apache.catalina.core.AprLifecycleListener init
严重: An incompatible version 1.1.20 of the APR based Apache Tomcat Native library is installed, while Tomcat requires version 1.1.24
九月 17, 2012 6:25:12 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-bio-8080"]
九月 17, 2012 6:25:12 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["ajp-bio-8009"]
九月 17, 2012 6:25:12 下午 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 4263 ms
九月 17, 2012 6:25:13 下午 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
九月 17, 2012 6:25:13 下午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/7.0.29
九月 17, 2012 6:25:14 下午 org.apache.catalina.util.SessionIdGenerator createSecureRandom
信息: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [169] milliseconds.
18:25:21 [DEBUG] 初始化森锐框架过滤器....
18:25:21 [DEBUG] 初始化数据源权限控制接口
18:25:21 [DEBUG] 初始化FreeMarker工具
18:25:21 [DEBUG] 设置FreeMarker参数
九月 17, 2012 6:25:23 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-bio-8080"]
九月 17, 2012 6:25:23 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-bio-8009"]
九月 17, 2012 6:25:23 下午 org.apache.catalina.startup.Catalina start

3 个解决方案

#1


An incompatible version 1.1.20 of the APR based Apache Tomcat Native library is installed, while Tomcat requires version 1.1.24

需要 1.1.24 版本 的 tcnative-1.dll 放到 tomcat/bin 下面 原来有就覆盖下

#2


下载 http://tomcat.heanet.ie/native/1.1.12/binaries/win32/tcnative-1.dll将这个文件放在Tomcat安装路径下的bin目录里

#3


仿佛版本7很容易出问题。我们实际项目中都是用6或者5.5的版本。

#1


An incompatible version 1.1.20 of the APR based Apache Tomcat Native library is installed, while Tomcat requires version 1.1.24

需要 1.1.24 版本 的 tcnative-1.dll 放到 tomcat/bin 下面 原来有就覆盖下

#2


下载 http://tomcat.heanet.ie/native/1.1.12/binaries/win32/tcnative-1.dll将这个文件放在Tomcat安装路径下的bin目录里

#3


仿佛版本7很容易出问题。我们实际项目中都是用6或者5.5的版本。