Before, Tomcat startup always reported errors. Although it does not affect the startup and operation of the project, programmers with obsessive-compulsive disorder will be unhappy:
The problem is caused by the inconsistency between the JDK version installed locally and the JDK version used in Tomcat
Later, I changed the jdk1.7 used in the original Tomcat startup environment to the JDK1.8 installed locally, so I won’t report an error
Specific process: in MyEclipse, click window → preference → enter Tomcat in the search box → select the installed Tomcat version. Here, I select Tomcat 7. X → click JDK → in Tomcat 7. X JDK Name: select the JDK version installed in this machine from the drop-down option → click OK, and then start Tomcat again to avoid any error
Similar Posts:
- java.lang.UnsupportedClassVersionError: Bad version number in .class file
- The VMware authorization service is not running
- The Java – jar *. Jar prompt in CMD is unable to access jarfile *. Jar or windows can’t double-click to run jar file. What should I do
- How to deal with high CPU consumption of win10 NVIDIA container
- Error reporting when importing Maven project from MyEclipse
- _DEBUGGER _03 _Server Tomcat v8.0 Server at localhost was unable to start within xx seconds
- Solve the error reported by eclipse project: unbound classpath container
- Use the SC command to manage windows services manually
- Android — problem — Open someone else’s program and report an error
- The solution of “the windows SDK version for 8.1 was not found” in vs2017 C + + compilation