tomcat启动问题

来源:互联网 发布:客户端mac 编辑:程序博客网 时间:2024/05/21 16:22

在修改代码后突然出现的问题:tomcat正常启动,但始终访问不上

启动tomcat时提示:

The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.6.0_04\jre\bin;C:\Program Files\Tomcat 6.0\bin

解决方法:

下载 tcnative-1.dll

http://tomcat.heanet.ie/native/1.1.10/binaries/win32/tcnative-1.dll

然后放到 C:\WINDOWS\system32 下

虽然tomcat的 "not found" 提示没有出现了,但还是访问不到

待解决...

--- 解决,问题:

spring注入时,有一个bean将自己注入到自己里面去了

也就是说,有个bean它的属性是它自己

0 0