2013-09-25 47 views
0

我下載了Apache Nutch項目,一切似乎都很好,除了這個惱人的pom.xml錯誤,似乎永遠不會消失。我有eclipse kepler並將apache nutch項目轉換爲maven項目,然後更新依賴關係。然而,這個錯誤似乎並沒有消失。歡迎所有的輸入/反饋&高度讚賞。在Apache Nutch中的Pom.xml錯誤源代碼/ Eclipse Kepler

Multiple annotations found at this line: 
     - Missing artifact javax.jms:jms:jar:1.1 
     - ArtifactTransferException: Failure to transfer com.sun.jdmk:jmxtools:jar:1.2.1 from https://maven- 
     repository.dev.java.net/nonav/repository was cached in the local repository, resolution will not be reattempted until 
     the update interval of java.net has elapsed or updates are forced. Original error: Could not transfer artifact 
     com.sun.jdmk:jmxtools:jar:1.2.1 from/to java.net (https://maven-repository.dev.java.net/nonav/repository): No 
     connector available to access repository java.net (https://maven-repository.dev.java.net/nonav/repository) of type 
     legacy using the available factories AsyncRepositoryConnectorFactory, WagonRepositoryConnectorFactory 
     - ArtifactTransferException: Failure to transfer javax.jms:jms:jar:1.1 from https://maven-repository.dev.java.net/ 
     nonav/repository was cached in the local repository, resolution will not be reattempted until the update interval of 
     java.net has elapsed or updates are forced. Original error: Could not transfer artifact javax.jms:jms:jar:1.1 from/to 
     java.net (https://maven-repository.dev.java.net/nonav/repository): No connector available to access repository 
     java.net (https://maven-repository.dev.java.net/nonav/repository) of type legacy using the available factories 
     AsyncRepositoryConnectorFactory, WagonRepositoryConnectorFactory 
     - ArtifactTransferException: Failure to transfer com.sun.jmx:jmxri:jar:1.2.1 from https://maven- 
     repository.dev.java.net/nonav/repository was cached in the local repository, resolution will not be reattempted until 
     the update interval of java.net has elapsed or updates are forced. Original error: Could not transfer artifact 
     com.sun.jmx:jmxri:jar:1.2.1 from/to java.net (https://maven-repository.dev.java.net/nonav/repository): No 
     connector available to access repository java.net (https://maven-repository.dev.java.net/nonav/repository) of type 
     legacy using the available factories AsyncRepositoryConnectorFactory, WagonRepositoryConnectorFactory 
     - Missing artifact com.sun.jdmk:jmxtools:jar:1.2.1 
     - Missing artifact com.sun.jmx:jmxri:jar:1.2.1 
+0

要添加到我的問題,我試圖到處下載javax.jms。不僅是很難找到,我下載的一個版本和手動添加到我的構建路徑未能解決此問題。 POM仍抱怨這種依賴性。雖然它並不妨礙構建過程本身,但我仍然不喜歡在pom.xml中看到錯誤。我喜歡看到這個項目處於完美的可建立狀態...... – Ace

回答