Can't load IA 32-bit .dll on a AMD 64-bit platform解决方案

在myeclipse中使用的,tomcat异常:

java.lang.UnsatisfiedLinkError: D:\JAVA\ApacheTomcat\bin\tcnative-1.dll: Can’t load IA 32-bit .dll on a AMD 64-bit platform

at java.lang.ClassLoaderNativeLibrary.load(NativeMethod)atjava.lang.ClassLoader.loadLibrary0(ClassLoader.java:1778)atjava.lang.ClassLoader.loadLibrary(ClassLoader.java:1703)atjava.lang.Runtime.loadLibrary0(Runtime.java:823)atjava.lang.System.loadLibrary(System.java:1030)atorg.apache.tomcat.jni.Library.(Library.java:42)atorg.apache.tomcat.jni.Library.initialize(Library.java:174)atsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)atjava.lang.reflect.Method.invoke(Method.java:597)atorg.apache.catalina.core.AprLifecycleListener.init(AprLifecycleListener.java:179)atorg.apache.catalina.core.AprLifecycleListener.isAprAvailable(AprLifecycleListener.java:84)atorg.apache.catalina.connector.Connector.setProtocol(Connector.java:577)atorg.apache.catalina.connector.Connector.(Connector.java:69)atorg.apache.catalina.startup.ConnectorCreateRule.begin(ConnectorCreateRule.java:62)atorg.apache.tomcat.util.digester.Digester.startElement(Digester.java:1276)atcom.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)atcom.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179)atcom.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1339)atcom.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImplFragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2747)

at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)

at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)

at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)

at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)

at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)

at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)

at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)

at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1537)

at org.apache.catalina.startup.Catalina.load(Catalina.java:601)

at org.apache.catalina.startup.Catalina.load(Catalina.java:649)

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.startup.Bootstrap.load(Bootstrap.java:281)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:449)

在myeclipse启动tomcat的时候会报错。

解决办法,去该地址下载一个32位的dll文件,替换tomcat的bin\目录下对应的文件

替换 \bin 目录下的tcnative-1.dll 为64位的版本 http://pan.baidu.com/s/1jGkoU0Y

Can't load IA 32-bit .dll on a AMD 64-bit platform解决方案

时间: 2025-01-01 08:45:31

Can't load IA 32-bit .dll on a AMD 64-bit platform解决方案的相关文章

8.3 sikuli 集成进eclipse 报错:eclipse中运行提示 Win32Util.dll: Can't load 32-bit .dll on a AMD 64 bit platform

sikuli运行出现问题:Win32Util.dll: Can't load 32-bit .dll on a AMD 64 bit platform 在64位平台上无法加载32位的dll文件 解决办法:将该工程设置成JDK为32位的 之前eclipse中默认加载的是64位jdk .但由于eclipse中TESTNG需要用到1.7 jdk .为保证在解决问题后,testNG还能正常使用.所以原博主是下了个32位  1.7 jdk,将该工程设置成这个就ok了 解决问题启发来自: http://ww

Tomcat Can't load AMD 64-bit .dll on a IA 32

1.下载64位的tcnative-1.dll替换tomcat中bin目录下的tcnative-1.dll就解决了 2.tcnative-1.dll下载地址 请点击 这里 Tomcat Can't load AMD 64-bit .dll on a IA 32

java.lang.UnsatisfiedLinkError: D:\apache-tomcat-7.0.57\bin\tcnative-1.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform 错误

为了开发JavaWEB,安装了MyEclipse,在运行tomcat的时候发现报错:java.lang.UnsatisfiedLinkError: D:\apache-tomcat-7.0.57\bin\tcnative-1.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform.自己上网查了下,发现这个错误对于项目的运行时没有什么大碍的,可能自己有强迫症,总是想没错,就上网找了解决方法.我先麻烦,就选择了最简单的方法,去tomcat目录下

Can't load IA 32-bit .dll on a AMD 64-bit platform错误的解决

64位的系统,64位的myeclipse,64位的jdk,64位的tomcat,结果报错:Can't load IA 64-bit .dll on a AMD 32-bit platform,简直无语 换了32位的tomcat,结果又报错:Can't load IA 32-bit .dll on a AMD 64-bit platform..... 解决办法:找到32位的tomcat文件夹下bin\tcnative-1.dll,替换成64位的tcnative-1.dll,就好了 Can't lo

Tomcat之启动报错Can't load IA 32-bit .dll on a AMD 64-bit platform

解决Tomcat: Can't load IA 32-bit .dll on a AMD 64-bit platform问题 分类: Tomcat MyEclipse 服务器 引用地址:http://blog.sina.com.cn/s/blog_65f1519f0100sdzg.html 错误如下: [java] view plaincopy java.lang.UnsatisfiedLinkError: E:\Program Files\MyEclipse 10\apache-tomcat-

解决Tomcat: Can't load IA 32-bit .dll on a AMD 64-bit platform 问题

错误如下: java.lang.UnsatisfiedLinkError: E:\Program Files\MyEclipse 10\apache-tomcat-7.0.23\bin\tcnative-1.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLi

Tomcat:Can't load IA 32-bit .dll on a AMD 64-bit platform问题的解决

控制台错误如下: java.lang.UnsatisfiedLinkError: D:\apache-tomcat-7.0.56\bin\tcnative-1.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:

JNI之——Can't load IA 32-bit .dll on a AMD 64-bit platform错误的解决

转载请注明出处:http://blog.csdn.net/l1028386804/article/details/46605003 在JNI开发中,Java程序需要调用操作系统动态链接库时,报错信息:Can't load IA 32-bit .dll on a AMD 64-bit platform.这是由于你的版本是Windows 64位,而你用VS生成的DDL是32位.因此只需要编译生成一个64位的DDL动态链接库就行. 具体步骤如下: 1.新建项目 选择win32项目   语言C++,输入

解决Tomcat: Can't load IA 32-bit .dll on a AMD 64-bit platform问题

解决Tomcat: Can't load IA 32-bit .dll on a AMD 64-bit platform问题,点我,点我: 解决Tomcat: Can't load IA 32-bit .dll on a AMD 64-bit platform问题