我目前正在使用 Maven 开发一个 Java 项目。在我的 pom.xml 中,我收到此错误。
Missing artifact org.jhotdraw:jhotdraw:jar:6.0b1
我添加了这个依赖
<dependency>
<groupId>org.jhotdraw</groupId>
<artifactId>jhotdraw</artifactId>
<version>7.6.0</version>
</dependency>
到我的pom.xml。但错误仍然是一样的。
有人可以帮助我吗?
最佳答案
Maven 存储库中不存在该版本的 org.jhotdraw.jhotdraw,Maven 存储库上可用的最后一个版本是 7.4.1
要么你的版本或组ID有误(我看到org.opentcs.thirdparty.jhotdraw
下有一个7.6.0的包,但不知道它是否是相同的)。或者,您可能需要手动下载并安装该软件包,请查看...
How to include custom library into maven local repository
关于java - Maven 依赖项缺失 Artifact : jhotdraw,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58267774/