Eclipse启动Tomcat报错,系统缺少本地apr库
2016-10-31 21:05
246 查看
Eclipse启动Tomcat报错,系统缺少本地apr库.
Tomcat中service.xml中的设置情况。
默认情况是HTTP协议的值:protocol="HTTP/1.1"
由于将tomcat改为了支持高并发,设置为如下图所示:
Tomcat在Eclipse中启动出现以下错误,但是使用startup.bat启动方式是可以启动的。
实际这是建议使用apache的apr。
下载 http://tomcat.heanet.ie/native/1.1.12/binaries/win32/tcnative-1.dll
解决此问题:是系统缺少一个tcnative-1.dll文件。
该文件可以在Tomcat的Bin目录中找到。(我反正是找到了,)
将该文件,拷贝到:将这个文件复制到C:/WINDOWS/system32/,.也可以放在Tomcat安装路径下的bin目录里(该文件在bin目录确实存在也是报错。)
这是其中一篇博文给的建议:
我参考了一下,把tcnative-1.dll下载后放到tomcat的bin目录下发现已经有了这个文件,我想tomcat的这个文件应该有自己用处吧于是没有替换掉,而是作了个备份然后才进行替换掉。
然后我把下载的放到里面以后,大致出现的问题就是这个下载的版本和tomcat的版本不相符:出现严重的警告:
然后把tomcat 的bin中的 tcnative-1.dll放到了C:/WINDOWS/system32/下面再进行启动就可以了。
Tomcat中service.xml中的设置情况。
默认情况是HTTP协议的值:protocol="HTTP/1.1"
由于将tomcat改为了支持高并发,设置为如下图所示:
Tomcat在Eclipse中启动出现以下错误,但是使用startup.bat启动方式是可以启动的。
实际这是建议使用apache的apr。
下载 http://tomcat.heanet.ie/native/1.1.12/binaries/win32/tcnative-1.dll
解决此问题:是系统缺少一个tcnative-1.dll文件。
该文件可以在Tomcat的Bin目录中找到。(我反正是找到了,)
将该文件,拷贝到:将这个文件复制到C:/WINDOWS/system32/,.也可以放在Tomcat安装路径下的bin目录里(该文件在bin目录确实存在也是报错。)
这是其中一篇博文给的建议:
我参考了一下,把tcnative-1.dll下载后放到tomcat的bin目录下发现已经有了这个文件,我想tomcat的这个文件应该有自己用处吧于是没有替换掉,而是作了个备份然后才进行替换掉。
然后我把下载的放到里面以后,大致出现的问题就是这个下载的版本和tomcat的版本不相符:出现严重的警告:
然后把tomcat 的bin中的 tcnative-1.dll放到了C:/WINDOWS/system32/下面再进行启动就可以了。
相关文章推荐
- Eclipse下启动tomcat报错:/bin/bootstrap.jar which is referenced by the classpath, does not exist.
- 错误路径Eclipse下启动tomcat报错:/bin/bootstrap.jar which is referenced by the classpath, does not exist.
- 系统宕机后,eclipse 无法启动tomcat -提示问题Removing obsolete files from server
- Eclipse下启动Tomcat报错: The archive: F:/JSPDev/apache-tomcat-8.0.32/bin/bootstrap.jar which is referenced by the classpath, does not exist.
- eclipse启动Tomcat报错
- eclipse中启动tomcat报错:Server Tomcat v7.0 Server at localhost was unable to start within 45 seconds. If
- 在eclipse中把Tomcat 8删掉不能重建问题,启动Tomcat重置本地配置问题
- 在eclipse中把Tomcat 8删掉不能重建问题,启动Tomcat重置本地配置问题
- Eclipse下启动tomcat报错:/bin/tool.jar which is referenced by the classpath, does not exist.
- 系统在本地tomcat中跑没问题。在weblogic中跑,总报:JSLoader.js 缺少'}'的错误
- Eclipse3.6+Blazeds+Flex4.6启动tomcat报错
- 解决Eclipse下启动tomcat报错:/bin/bootstrap.jar which is referenced by the classpath, does not exist.
- 系统服务启动tomcat报错,特定错误代码1
- Eclipse中启动tomcat与系统服务中启动tomcat的比较
- Eclipse下启动tomcat报错:/bin/bootstrap.jar which is referenced by the classpath, does not exist.
- Eclipse以及TOMCAT(以脚本启动)报错PermGen space
- eclipse下配置tomcat错误导致启动tomcat报错,Could not find main class
- eclipse启动tomcat报错: Error configuring application listener of class org.springframework.ContextLoader
- 【转】Eclipse下启动tomcat报错:/bin/bootstrap.jar which is referenced by the classpath, does not exist.