eclipse下,64位tomcat报错(转)

报错 : java.lang.UnsatisfiedLinkError: D:apache-tomcat-7.0.57in cnative-1.dll: Can't load AMD 64-bit .dll on a IA 32-bit platform

原因:

在eclipse中,指定了tomcat的路径后,默认使用的是eclipse中的JRE。

虽然我tomcat和电脑中的JRE都是64位,但eclipse中的JRE是32位。

解决:

将tomcat的JRE改为本机64位版本

原文地址:https://www.cnblogs.com/forgeting/p/4382962.html