IDE integration problems with springMVC

 
problem lies in:
Mainly, the virtual machine installed under the 64-bit system is 64-bit, and the sublime.dll of WTK cannot load the 64-bit virtual machine under the 64-bit platform, but can only load the 32-bit virtual machine. Since WTK loads the address of the 64-bit virtual machine during installation, it finds a 64-bit virtual machine, so it prompts that a 32-bit virtual machine cannot be loaded (there is no 32-bit virtual machine in the directory)
 
There are two ways to solve this problem
the first method:
Check your own JDK version, open cmd, enter java -version, and check whether the third line contains "64". If not, it means that the address of the environment variable JAVA_HOME you set points to a 32-bit JDK, then you only need to download 64 For the JDK and install it, then modify the environment variable JAVA_HOME to point to the 64-bit address. This method can avoid troubles. To put it bluntly, the jdk version of your project is inconsistent with the jdk version configured in Tomcat.
 
The second method:
1. Download a 64-bit replacement
 
tcnative-1.dll 64-bit download Baidu search download 64-bit, and then go to
find below
Replace the files under tomcat/bin/
download link:
 
The IDE starts tomcat and reports an error:
 
 
Reason: This is caused by the inconsistency between the version of jdk and the requirements of the project
Solution: Re-bind the jdk of tomcat and the jdk of Intellij idea, and make sure the two versions are consistent
 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326136063&siteId=291194637