解决Correct the classpath of your application so that it contains compatible versions

  • springboot启动失败
  • 报错Correct the classpath of your application so that it contains ***patible versions of the classes org.springframework.web.servlet.handler.AbstractHandlerMethodMapping and org.springframework.web.method.HandlerMethod

排查发现:pom依赖同时引用了两个不同版本的web包。

删掉一个web依赖重新构建以后问题直接解决。


Correct the classpath of your application so that it contains ***patible versions of the classes org.springframework.web.servlet.handler.AbstractHandlerMethodMapping and org.springframework.web.method.HandlerMethod

某个类构建失败,删掉target重新构建

转载请说明出处内容投诉
CSS教程_站长资源网 » 解决Correct the classpath of your application so that it contains compatible versions

发表评论

欢迎 访客 发表评论

一个令你着迷的主题!

查看演示 官网购买