eclipse 启动 tomcat 报was not found on the java.library.path 错误的解决办法
来源:互联网 发布:淘宝可以不发货吗 编辑:程序博客网 时间:2024/06/06 02:07
我的tomcat 是7.0.47版本的,在启动(从eclipse启动 或直接启动tomcat报如题的错误,)
从http://zhidao.baidu.com/link?url=pzfXixFNBaezZWFOTGbKwEOVQ0cYZl8sxJvAiSnLRjOZrhD_0zjHV-RPtojo6DlPo1D2EVSWLmkTkdFCCwUIs9pncKAcm6MYh2RliDA_psi
搜索到了一个解决方式,
解决方法:相关文档:http://tomcat.apache.org/tomcat-6.0-doc/apr.html去这里http://tomcat.heanet.ie/native/下载最新版本的tcnative-1.dll放到Tomcat的安装目录\Bin下之后重启Tomcat就OK了。比如现在我已下载了V1.1.14的tcnative-1.dll,启动时信息变成:引用信息: Loaded APR based Apache Tomcat Native library 1.1.14.这个APR是什么作用呢?Tomcat 可以用 Apache Portable Runtime 来提供更强性能,提升Web静态页面的处理能力,不再需要专门的Web Server来处理静态页面了。试过了之后,在我启动时报如下的错误:
java.lang.UnsatisfiedLinkError: D:\apache-tomcat-7.0.47-portal\bin\tcn
ative-1.dll: Can't load IA 64-bit .dll on a AMD 64-bit platform
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1929)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1847)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1119)
at org.apache.tomcat.jni.Library.<init>(Library.java:42)
at org.apache.tomcat.jni.Library.initialize(Library.java:174)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.apache.catalina.core.AprLifecycleListener.init(AprLifecycleListen
er.java:180)
at org.apache.catalina.core.AprLifecycleListener.isAprAvailable(AprLifec
ycleListener.java:85)
at org.apache.catalina.connector.Connector.setProtocol(Connector.java:59
5)
at org.apache.catalina.connector.Connector.<init>(Connector.java:69)
at org.apache.catalina.startup.ConnectorCreateRule.begin(ConnectorCreate
Rule.java:62)
at org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1
知道了原有和解决办法,我从其他不报错版本的tomcat下拷贝了一个
tcnative-1.dll 这个文件,版本是1.4.8,就ok了。
- eclipse 启动 tomcat 报was not found on the java.library.path 错误的解决办法
- tomcat启动错误:Native library was not found on the java.library.path
- 解决tomcat启动出现in production environments was not found on the java.library.path:xxx
- 启动Tomcat时出现The Apache Tomcat Native library ..... was not found on the java.library.path:
- ecplise中启动Tomcat错误.not found on the java.library.path解决
- was not found on the java.library.path
- HttpServlet was not found on the Java 错误的解决办法
- eclipse tomcat报错:superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path
- Eclipse错误:The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path
- eclipse JavaEE版"javax.servlet.http.HttpServlet" was not found on the Java Build Path问题的解决办法
- eclipse中jsp错误javax.servlet.http.HttpServlet" was not found on the Java Build Path
- The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path的解决办法
- not found on the java.library.path
- 运行tomcat:报错信息The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path
- Eclipse报错:the superclass "javax.servlet.http.HttpServlet" was not found on the java Build Path
- eclipse:报错信息The superclass “javax.servlet.http.HttpServlet” was not found on the Java Build Path
- Eclipse中jsp页面报The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path
- eclipse报错:The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path
- Zend studio编辑器快捷键使用及字体修改
- PHP中打开或包含远程文件时要注意的问题
- linux中文简繁体转换
- PHP开发中值得注意的几个问题(二)
- PHP开发中值得注意的几个问题
- eclipse 启动 tomcat 报was not found on the java.library.path 错误的解决办法
- (转)Windows下安装OpenSSL及其使用
- PHP开发中值得注意的几个问题(三)
- VS2013 此模板尝试加载组件程序集”NuGet.VisualStudio.interop,Version=1.0.0.0 的解决办法
- 微信伪装地理位置教程
- Android学习之EditText
- UVA 10181 15-Puzzle Problem IDA* 剪枝
- nand flash 和nor flash 的区别
- (笔试题)当在浏览器中输入一个url后回车,后台发生了什么?比如输入url后,你看到了百度的首页,那么这一切是如何发生的呢? .