Correct single, compatible version of XXX

maven包冲突问题

问题分析:

1.Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]
2.Correct single, compatible version of XXX
3.Correct the classpath of your application so that it contains a single, compatible version of javax.persistence.Table

解决方法

根据报错信息可以看到报错的引发冲突的jar包
然后在终端执行mvn dependency:tree

ctrl + F 找到存在冲突的包,然后在对应包下进行排除:

然后rerun 问题解决!

猜你喜欢

转载自blog.csdn.net/weixin_44062177/article/details/117769831