In eclipse, when the tomcat version is 8.5 (a magical version), it cannot be bound with eclipse. If you choose version 8.0 or 9.0, you will be prompted:
The Apache Tomcat installation at this directory is version 8.5.5. A Tomcat 8.0 installation is expected.
As shown below:
1. Human flesh modifies the version number of tomcat
1. Use WinRar, WinZip, 7zip to open the file ./lib/catalina.jar (be careful not to decompress) 2. Open the file org/apache/catalina/util/ServerInfo.properties 3. Modify the version number on line 16 of the file to 8.0.0 4. Save and update the file to the original jar package
Successfully bind:
2. Patch:
https://bugs.eclipse.org/bugs/attachment.cgi?id=262418&action=edit
Download this patch and put it to the plugins directory of your Eclipse installation. It will replace the default "org.eclipse.jst.server.tomcat.core_1.1.800.v201602282129.jar".
For details, please refer to: " How to use Tomcat 8.5.x and TomEE 7.x with Eclipse? "