Problems with tomcat startup

问题1.Unsupported major.minor version 51.0

This error is caused by the inconsistency between the local jdk and the jdk version used for project compilation.

Check: 1. The jre used in the project in eclipse, the jdk version used for compilation is consistent, and then compiled

           2. Check the local jdk environment variable configuration (configure JAVA_HOME, PATH, CLASSPATH)

问题2.Tomcat: Can't load IA 32-bit .dll on a AMD 64-bit platform

Solution: For 32/64-bit problems, delete the tcnative-1.dll file in the tomcat bin directory.

Guess you like

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