0
我正在嘗試使用eclipse mvn插件(即m2e)構建hadoop。然而,構建過程失敗,因爲依賴分辨率的問題,並給出了以下錯誤消息:使用maven + eclipse構建hadoop
Failed to execute goal on project hadoop-common: Could not resolve dependencies for project org.apache.hadoop:hadoop-common:jar:3.0.0-SNAPSHOT: The following artifacts could not be resolved: com.sun.jersey:jersey-core:jar:1.8, javax.activation:activation:jar:1.1, tomcat:jasper-compiler:jar:5.5.23, commons-el:commons-el:jar:1.0, commons-beanutils:commons-beanutils-core:jar:1.8.0, org.codehaus.jackson:jackson-mapper-asl:jar:1.8.8, com.thoughtworks.paranamer:paranamer:jar:2.3, org.xerial.snappy:snappy-java:jar:1.0.3.2: Could not transfer artifact com.sun.jersey:jersey-core:jar:1.8 from/to central (http://repo.maven.apache.org/maven2): No response received after 60000 -> [Help 1]
現在,我應該怎麼做才能解決這個問題呢?
謝謝,但我的Maven菜單沒有'更新依賴關係'或'更新快照'項目 – user1723583 2013-03-30 04:33:39
在最新的Eclipse&M2插件中,它現在是Maven - > Update項目.. – 2013-03-31 13:57:16