1,eclipse could not resolve archetype這個是在eclipse建立項目時,選擇archetype時出現的:apache
在新建maven工程時報錯:windows
Could not resolve archetype org.apache.maven.archetypes:maven-archetype-quickstart:RELEASE from any of the configured repositories.
Could not resolve artifact
Missing org.apache.maven.archetypes:maven-archetype-quickstart:pom:RELEASE服務器
could not resolve archetype這個錯誤出現的緣由是,在建立項目時使用的是我本身配置的maven倉庫中心,可是未啓動nexus服務器,這時就會在maven中找不到。可是從新啓動nexus時,它不會再從新嘗試獲取了。這個在錯誤的詳細信息中會有提示。eclipse
could not resolve archetype解決辦法是刪除maven倉庫下載的jar,即在maven的settings.xml配置的下載路徑,而且更換一個workplace,而後從新配置一下maven,maven
從新導入項目就能夠了。ui
2,was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced -> [Help 1]
code
這個錯誤通常是在第一次更新jar的時候沒有啓動中心倉庫nexus,可是從新啓動後,它又不更新了。目前個人解決方法的是進入到nexus的目錄下D:\Soft\windows\nexus-2.14.0-01-bundle\sonatype-work\nexus\storage\central,找到你更新失敗的那個jar包的目錄。從新在eclipse中 install 一下就能夠了。這是maven中常常遇到的錯誤之一xml
更多關於遊戲技術方面的資料請參考:http://www.youxijishu.comblog