#spring boot项目启动时报错
Description:
An attempt was made to call the method org.apache.coyote.AbstractProtocol.setAcceptCount(I)V but it does not exist. Its class, org.apache.coyote.AbstractProtocol, is available from the following locations:
jar:file:/C:/apache-tomcat-8.0.50/lib/tomcat-coyote.jar!/org/apache/coyote/AbstractProtocol.class
jar:file:/C:/Users/%e5%b0%8f%e6%96%b0/.m2/repository/org/apache/tomcat/embed/tomcat-embed-core/9.0.13/tomcat-embed-core-9.0.13.jar!/org/apache/coyote/AbstractProtocol.class
It was loaded from the following location:
file:/C:/apache-tomcat-8.0.50/lib/tomcat-coyote.jar
Action:
Correct the classpath of your application so that it contains a single, compatible version of org.apache.coyote.AbstractProtocol
求大神help
//已经解决!
将spring boot项目部署tomcat运行环境了,取消部署之后运行正常!