阅读224 返回首页    go 阿里云 go 技术社区[云栖]


Missing javax.transaction.jta artifact

原文:https://stackoverflow.com/questions/9003298/missing-javax-transaction-jta-artifact


jta下载不了,提示如下:

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.687s
[INFO] Finished at: Mon Nov 12 12:48:16 MMT 2012
[INFO] Final Memory: 4M/8M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project SpringExample: Could not resolve dependencies for project com.mkyong.common:SpringExample:jar:1.0-SNAPSHOT: Failure to find javax.transaction:jta:jar:1.0.1B in https://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]


解决办法:在pom文件中添加以下源。

<repository>
    <id>java.net</id>
    <url>https://download.java.net/maven/2/</url>
</repository>


最后更新:2017-04-02 22:14:28

  上一篇:go 谷歌地图跃居苹果应用店第一
  下一篇:go Android开发18——获取网络资源之json数据