java.lang.UnsatisfiedLinkError: D:\tools\tomcat\apache-tomcat-7.0.53-windows-i64\apache-tomcat-7.0.53\bin\tcna
tive-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:1807)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1732)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1028)
at org.apache.tomcat.jni.Library.<init>(Library.java:40)
at org.apache.tomcat.jni.Library.initialize(Library.java:172)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.core.AprLifecycleListener.init(AprLifecycleListener.java:178)
at org.apache.catalina.core.AprLifecycleListener.isAprAvailable(AprLifecycleListener.java:83)
at org.apache.catalina.connector.Connector.setProtocol(Connector.java:592)
at org.apache.catalina.connector.Connector.<init>(Connector.java:66)
at org.apache.catalina.startup.ConnectorCreateRule.begin(ConnectorCreateRule.java:62)
at org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1288)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:50
1)
at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocume
ntParser.java:179)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocument
FragmentScannerImpl.java:1343)
****************************************************
【分析及解决】
tomcat【tcnative-1.dll】对cpu区分x64还是i64的,windows下部署的tomcat版本需要和cpu架构和位数一致。
==>比如:x64下需要x64介质,而不建议用i64的介质。
==>Intel 64bit cpu有x64和i64之分(Itanium)
==>安腾cpu是服务器cpu,64-bit Itanium,只能在安腾上运行,一般的pc都是x64 cpu,服务器才会有i64 cpu。
==>同时也要考虑tomcat,jdk,os,cpu这四者的位数一致,当然64bit的os上是可以跑32bit的软件的。
==>实际上就是tomcat需要和jdk的位数一致。
==>建议:tomcat,jdk,os,cpu的位数和架构一致,其中tomcat区分cpu架构和位数,jdk仅区分cpu的位数。
***************************************************
分享到:
相关推荐
win7 intel cpu x64 环境,部署tomcat ,提示 Can't load IA 32-bit .dll on a AMD 64-bit platform 解决方法: 替换 \bin 目录下的tcnative-1.dll 为64位的版本
在IT行业中,尤其是在服务器端应用开发中,遇到“Can't load IA 32-bit .dll on a AMD 64-bit platform”这样的错误是常见的。这个错误通常发生在试图在一个64位的操作系统上运行32位的动态链接库(DLL)文件时。在...
"Can't load IA 32-bit .dll on a AMD 64"这个错误信息是典型的32位与64位应用程序不兼容的问题,这通常发生在尝试在64位操作系统上运行32位动态链接库(DLL)文件时。此问题涉及到Java和Tomcat服务器的配置。 首先...
标题“Tomcat Can't load AMD 64-bit .dll on a IA 32”涉及到的问题是关于Apache Tomcat服务器在尝试加载AMD 64位(x64)动态链接库(.dll)文件时,在一个Intel Architecture 32-bit(IA-32,即32位系统)环境下...
Tomcat报错,如: Can't load IA 32-bit .dll on a AMD 64-bit platform Can't load IA 64-bit .dll on a AMD 64-bit platform 都应该用x64里面的dll文件 不同的硬件平台需要与之对应的dll即可
32 64位 tcnative-1.dll 下载 解决 Can't load IA 32-bit .dll on a AMD 64-bit platform 官网下载链接https://tomcat.apache.org/download-native.cgi
适合apache tomcat 7,在tomcat-7.0.57通过,解决java.lang.UnsatisfiedLinkError: D:\vleyong\tomcat-7.0.57\bin\tcnative-1.dll: Can't load AMD 64-bit .dll on a IA 32-bit platform这个问题的dll文件
从tomcat 7.0.75中取出来的,可以解决tomcat启动时Can't load AMD 64-bit .dll on a IA 32-bit platform错误
1.错误Can't load IA 32-bit .dll on a AMD 64-bit platform解决方案 2.springboot启动报错java.lang.UnsatisfiedLinkError: no tcnative-1 in java.library.path 3.tomcat-native-1.2.24-openssl-1.1.1g-win32-bin
在IntelliJ IDEA 2019.3.3 x64中启动tomcat时报错java.lang.UnsatisfiedLinkError: D:\Tomcat v7.0.4.7\bin\tcnative-1.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform at java.lang.ClassLoader$...
适合apache tomcat 7,在tomcat-7.0.57通过,解决java.lang.UnsatisfiedLinkError: D:\vleyong\tomcat-7.0.57\bin\tcnative-1.dll: Can't load AMD 64-bit .dll on a IA 32-bit platform这个问题的dll文件
The error reported was [E:\data\tomcat_occ\bin\tcnative-1.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform] java.lang.UnsatisfiedLinkError: E:\data\tomcat_occ\bin\tcnative-1.dll: Can't load IA...
描述中提到的问题 "Can't load IA 32-bit .dll on a AMD 64-bit platform" 是一个常见的错误,当尝试在基于 AMD64 的 64 位 Windows 系统上运行 32 位动态链接库(.dll 文件)时会出现。这通常是因为系统缺乏对 32 ...