- springboot启动失败
- 报错Correct the classpath of your application so that it contains compatible 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 compatible versions of the classes org.springframework.web.servlet.handler.AbstractHandlerMethodMapping and org.springframework.web.method.HandlerMethod文章来源:https://www.toymoban.com/news/detail-707118.html
某个类构建失败,删掉target重新构建文章来源地址https://www.toymoban.com/news/detail-707118.html
到了这里,关于解决Correct the classpath of your application so that it contains compatible versions的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!