Error in idea: Unable to ping server at localhost:1099
I have recently started to work on formal projects. When building a server-side operating environment, I encountered an error like Application Server was not connected before run configuration stop, reason: Unable to ping server at localhost:1099. After searching online, I found that it was my Tomcat. The problem of incompatibility between version and sdk version:
one version is too high and the other is too low. Changing Tomcat 9 to Tomcat 7 or changing the sdk to 1.8 can solve the problem.