If you’re reading this, you’ve probably tried a lot of solutions, but what finally happened? 1. First, make sure that the problem cannot be solved by changing the port number and other operations.

2, please first try simple operations to solve the problem, such as: change the port number.

Final solution: JDK version does not match Tomcat version. In the Tomcat configuration of IDEA (upper right corner of IDEA tool), check:

Check tomcat path configuration:

If tomcat version is 7.0.92, JDK version 1.7 is required

Or if your version is 9.0, the required JDK version is 1.8+

Check the JDK version configured for Tomcat:

\

OJBK, solved ~~~~~~