编程开源技术交流,分享技术与知识

网站首页 > 开源技术 正文

idea 自动编译 问题(idea 设置自动编译)

wxchong 2024-08-07 01:21:30 开源技术 11 ℃ 0 评论

idea Auto build completed with errors

1.本地的原因是

'dependencies.dependency.systemPath' for :jar should not point at files within the

pom.xml 的配置文件,

路径由 project.basedir 改成了 pom.basedir

<!-- 中文分词 project.basedir -->
<dependency>
   <groupId>org.wltea</groupId>
   <artifactId>analyzer</artifactId>
   <version>2012_u6</version>
   <scope>system</scope>
   <systemPath>${pom.basedir}/src/main/webapp/WEB-INF/lib/analyzer-2012_u6.jar</systemPath>
</dependency>
  1. 有些jar 包是重复配置了,两遍,guava 包被配置了两次,造成编译的问题。

Some problems were encountered while building the effective model for com.ambition.agile:rpd:war:1.2.7

'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: com.google.guava:guava:jar -> version ${guava.version} vs 20.0 @ line 731, column 15

It is highly recommended to fix these problems because they threaten the stability of your build.

For this reason, future Maven versions might no longer support building such malformed projects.

本文暂时没有评论,来添加一个吧(●'◡'●)

欢迎 发表评论:

最近发表
标签列表