Tomcat: Error occurred during initialization of VM Unable to load native library

时间:2024-03-15 11:09:05

服务器:阿里云

配置:cpu 2G   

--------------------------------------------------------

后面突然遇到这个报错:

Error occurred during initialization of VM Unable to load native library: Can't find dependent libraries。


真的这是我遇到的一个大坑。。。。。太坑了  抱住自己

网上试了很多方法都不行,比如

什么增大那个内存值什么的,不行(1.8好像不支持了)

重新安装,不行

修改tomcat内部的配置文件,失败

------------------------------------------------------

我重装jdk不行

重装tomcat不行

--------------------------------------------------------

然后按照下面的方法:更改tomcat的默认 Java 虚拟内存路径即可:


Tomcat: Error occurred during initialization of VM Unable to load native library


Tomcat: Error occurred during initialization of VM Unable to load native library


注意:tomcat的默认是  与 jdk并列的jre,需要修改为jdk目录下的jre


Tomcat: Error occurred during initialization of VM Unable to load native library


Tomcat: Error occurred during initialization of VM Unable to load native library


转载请注明出处:https://blog.csdn.net/whandwho/article/details/80683759