簡體   English   中英

Maven 3.0.5 + Windows 8 + jdk 7問題

[英]Maven 3.0.5 + Windows 8 + jdk 7 issue

我試圖弄清楚我的行家正在發生什么。 我最近切換到Windows 8,發現使用Maven構建應用程序存在問題(請參閱底部的失敗消息):

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.400s
[INFO] Finished at: Sat Apr 13 18:36:56 CEST 2013
[INFO] Final Memory: 18M/178M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project Example: Could not resolve dep
endencies for project 
(Here are lots of libs)
Could not transfer artifact com.sun.xml.bind:jaxb-impl:pom:2.2.4-1 from/to central (
http://repo.maven.apache.org/maven2): Connection to http://repo.maven.apache.org
 refused: connect: Address is invalid on local machine, or port is not valid on
remote machine -> [Help 1] 

當切換到Java 6時,eveything運行正常。 我什至禁用了Windows防火牆,盡管沒有成功。 也許有人遇到過這個問題?

這是我的環境:

  • Windows 8 x64
  • JDK 7u17(同時檢查x86和x64)
  • Maven的3.0.5

好吧,答案的外觀是如此簡單,以至於我感到尷尬。 如我上面所寫,我已經禁用了防火牆/抗病毒軟件,但沒有任何效果。 但是,我沒有將Java作為我的抗病毒軟件的例外,事實證明,我正在掃描我的應用程序,並且如果事件被禁用,則不允許某些人訪問...。 這很奇怪,但是在AV中添加例外有所幫助。 對不起,麻煩了...

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM