springboot Tomcat connector configured to listen on port 8081 failed to start.

启动报   

Tomcat connector configured to listen on port 8081 failed to start.   The port may already be in use or the connector may be misconfigured.错误

一开始,我以为是端口占用,baidu   https://blog.csdn.net/IBLiplus/article/details/82714151,用这个办法,还是没有解决问题,看上去不是端口占用问题,我就,查了下引用的jdk文件。

发现,eclipse引用的是自己的jdk,改成我自己的jdk,问题解决

原文地址:https://www.cnblogs.com/ztgzlu/p/9830592.html