m0_43449494
一条道道走到黑!
采纳率0%
2019-01-20 19:17

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

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

1条回答

  • qq_37129624 ghq-yes 2年前

    看着像是你的tomcat少jar包了,重新下一个tomcat试下

    点赞 评论 复制链接分享

相关推荐