maven 多项目之间依赖,install 没有问题,只是在发布到tomcat 启动的时候编译  》》》》我们在启动项目或编译时:报的错如下:

IntelliJ IDEA 14 Maven 依赖问题

解决方法:可能是依赖重复;

To solve these kind of problems need to use Analyze Module dependencies in InteliJ-idea.

File Menu > Analyze > Module Dependencies

This shows the list of all projects which have cyclic dependencies and should be resolved first.

This feature helps you to find the problem.

意思是打开 File Menu > Analyze > Module Dependencies ,出问题的项目会显示为红色.

然后红色的项目之间存在循环依赖问题,查看一下pom文件并去掉重复依赖就好了.

步骤如下:

IntelliJ IDEA 14 Maven 依赖问题

有错的依赖,会变成红色。

相关文章:

  • 2021-04-17
  • 2021-05-19
  • 2022-02-13
  • 2021-04-26
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-06-18
  • 2021-12-27
  • 2021-11-28
  • 2021-07-07
  • 2021-09-22
相关资源
相似解决方案