Версия для печати темы
Нажмите сюда для просмотра этой темы в оригинальном формате
Форум программистов > Java tools & IDE's > maven problem


Автор: redwhite90 6.7.2013, 13:41
Написал приложение с использованием build tool-а maven, запускаю на другом компьютере его - вылетает ошибка:
Цитата

[ERROR] Failed to execute goal on project SpringMVC: Could not resolve dependencies for project com.mkyong.common:SpringMVC:war:1.0-SNAPSHOT: The following artifacts could not be resolved: org.springframework:spring-core:jar:3.0.5.RELEASE, org.springframework:spring-context-support:jar:3.0.5.RELEASE: Could not transfer artifact org.springframework:spring-core:jar:3.0.5.RELEASE from/to central (http://repo.maven.apache.org/maven2): No response received after 60000 -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/d...utionException

P.S. С maven - новичок.
P.S.S. ~/.m2/repository чистил

Автор: mstalker26 7.7.2013, 21:33
pom.xml в студию

Автор: LSD 8.7.2013, 10:43
Цитата(redwhite90 @  6.7.2013,  14:41 Найти цитируемый пост)
No response received after 60000 -> [Help 1]

Мавен не может соединиться с центральным репозиторием. Вы артифакты берете из центрального репозитория или есть локальный прокси?

Автор: Samotnik 8.7.2013, 21:57
Цитата(mstalker26 @  7.7.2013,  21:33 Найти цитируемый пост)
pom.xml в студию 

Скорее {MAVEN_HOME}/conf/settings.xml 

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)