[英]Cannot find 'javaxt-core' on Maven Repo
I have added the dependency below to my pom.xml but Eclipse (Oxygen) keeps giving the following error Missing artifact javaxt:javaxt-core:jar:1.7.8 . 我在pom.xml中添加了以下依赖项,但是Eclipse(Oxygen)始终显示以下错误缺少工件javaxt:javaxt-core:jar:1.7.8 。 Is there a way around this? 有没有解决的办法?
<!-- https://mvnrepository.com/artifact/javaxt/javaxt-core -->
<dependency>
<groupId>javaxt</groupId>
<artifactId>javaxt-core</artifactId>
<version>1.7.8</version>
</dependency>
I recently added Maven support to the JavaXT website. 我最近将Maven支持添加到JavaXT网站。 Please use the following "repository" in your pox.xml: 请在pox.xml中使用以下“存储库”:
<repositories>
<repository>
<id>javaxt.com</id>
<url>http://www.javaxt.com/maven</url>
</repository>
</repositories>
Try few things out like below 尝试以下几件事
I actually found a more stable way of fixing this issue as the previously accepted answer did not work on other environments. 实际上,我发现了解决此问题的更稳定方法,因为先前接受的答案在其他环境中不起作用。 I had to add the below to my pom.xml: 我必须将以下内容添加到我的pom.xml中:
<repositories>
<repository>
<id>jspresso-repository</id>
<url>http://repository.jspresso.org/maven2</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.