git - Spring MVC issues in STS 3.7.3 -


i getting error on importing https://github.com/spring-projects/spring-mvc-showcase in sts 3.7.3:---

description resource path location type

failure transfer org.codehaus.mojo:aspectj-maven-plugin:pom:1.2 https://repo.maven.apache.org/maven2 cached in local repository, resolution not reattempted until update interval of central has elapsed or updates forced. original error: not transfer artifact org.codehaus.mojo:aspectj-maven-plugin:pom:1.2 from/to central: connect timed out pom.xml /spring-mvc-showcase line 1 maven pom loading problem


edit

mvn ok pom.xml error still persists if remove errors , maven clean errors as:

[info] https://repo.maven.apache.org/maven2/org/codehaus/mojo/aspectj-maven-plugin/1.2/aspectj-maven-plugin-1.2.pom [info] ------------------------------------------------------------------------ [info] build failure [error] plugin org.codehaus.mojo:aspectj-maven-plugin:1.2 or 1 of dependencies not resolved: failed read artifact descriptor org.codehaus.mojo:aspectj-maven-plugin:jar:1.2: not transfer artifact org.codehaus.mojo:aspectj-maven-plugin:pom:1.2 from/to central: connect timed out -> [help 1] [error] [error] see full stack trace of errors, re-run maven -e switch. [error] re-run maven using -x switch enable full debug logging. [error] [error] more information errors , possible solutions, please read following articles: [error] [help 1] http://cwiki.apache.org/confluence/display/maven/pluginresolutionexception

first of sts build on eclipse. can install ide integration eclipse ide - m2eclipse sts. can see how here. if want use integration plugin dont need have local maven repository.

resolving maven dependencies eclipse workspace without installing local maven repository

but possible use maven local system repository. download here , follow steps installation , configuration here.

to see if have valid maven installation done, can test typing mvn -v in cmd shell or using sts -> right click on project -> run as -> maven build or maven install.


update:

i delete project workspace , try again. download project github zip file , import again workspace. right click -> import -> existing maven project.

if need use proxy connection have create settings.xml in .m2 folder. look here more info


Comments

Popular posts from this blog

Ansible - ERROR! the field 'hosts' is required but was not set -

customize file_field button ruby on rails -

SoapUI on windows 10 - high DPI/4K scaling issue -