Get the App
SLTechnology News&Howtos  ›  Servers  › 

Tomcat start Times error: the solution of java.lang.UnsatisfiedLinkError

Shulou Source: shulou.com Published: 2022-06-02 03:55:22 10月02日 Update

problem

In the past, tomcat startup always reported an error, which did not affect the startup of the project, but programmers with obsessive-compulsive disorder would be upset:

As follows:

Analysis of problems

Caused by the inconsistency between the version of jdk installed on this machine and the version of jdk used in tomcat.

Solution method

Later, I changed the original jdk1.7 used in the tomcat startup environment to the native installed jdk1.8 and did not report an error.

Specific process:

Click window → preference → in myeclipse, enter Tomcat → in the search box to select the installed tomcat version, I am here to select Tomcat 7.x → click JDK → in the Tomcat 7.x JDK name: drop-down option to select the jdk version installed in this machine → click OK and then start tomcat again will not report an error.

Summary

The above is the whole content of this article, I hope that the content of this article can bring some help to your study or work, if you have any questions, you can leave a message and exchange, thank you for your support.

Tags: Version native selection content problem consistency understanding again obsessive-compulsive disorder method environment question program programmer article always can bring process project Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS Docker Xiaomi Linux Apple