在Oxygen版的Eclipse上搭建完TomCat8.5,通过eclipse启动后,总是没办法通过localhost:8080去访问,但是到Tomcat8.5目录下,通过startup.bat启动又是成功的。
在eclipse启动后,console有这样一个提示:
The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path.........
解决方法1:把tcnative-1.dll文件放至到Tomcat\bin目录下,这个方法网上说可行,但还没有试验过
解决方法2:到任务管理器把javaw.exe进程停掉,这个方法亲测可用