: Can't load AM D 64-bit .dll on a IA 32-bit platf

SEVERE: Cannot find specified temporary folder at D:\tomcat\temp
java.lang.UnsatisfiedLinkError: D:\asmm\bin\tcnative-1.dll: Can't load AM
D 64-bit .dll on a IA 32-bit platform
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1939)64-bit .dll on a IA 32-bit platform
      at java.lang.ClassLoader$NativeLibrary.load(Native Method)
      at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1939)
      at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1864)
      at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1854)
      at java.lang.Runtime.loadLibrary0(Runtime.java:845)
      at java.lang.System.loadLibrary(System.java:1084)
      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(NativeMethodAcce


jdk版本不對,tomcat是64bit,而jdk是32bit,雖然程序可以正常啓動但是當你想把這個tomcat註冊成服務的時候就不可以註冊了。解決辦法就是更換jdk的版本爲64bit的

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章