I was trying out the tutorial on
http://static.springsource.org/sprin...tml/intro.html
using
jre1.5.0_17
spring-roo-1.0.2.RELEASE
apache-maven-2.2.1
I get the following error when I run the command mvn tomcat:run
Code:C:\SpringRoo\ten-minutes>mvn tomcat:run [INFO] Scanning for projects... Downloading: http://repository.springsource.com/maven/bundles/release/org/apache/maven/plugins/maven-war-plugin/2.0.2/maven-war-plugin-2.0.2.pom [WARNING] Unable to get resource 'org.apache.maven.plugins:maven-war-plugin:pom:2.0.2' from repository com.springsource.repository.bundles.release (http://repository.springsource.com/maven/bundles/rel ease): Error transferring file: repository.springsource.com Downloading: http://repository.springsource.com/maven/bundles/external/org/apache/maven/plugins/maven-war-plugin/2.0.2/maven-war-plugin-2.0.2.pom [WARNING] Unable to get resource 'org.apache.maven.plugins:maven-war-plugin:pom:2.0.2' from repository com.springsource.repository.bundles.external (http://repository.springsource.com/maven/bundles/ex ternal): Error transferring file: repository.springsource.com Downloading: http://repository.springsource.com/maven/bundles/milestone/org/apache/maven/plugins/maven-war-plugin/2.0.2/maven-war-plugin-2.0.2.pom [WARNING] Unable to get resource 'org.apache.maven.plugins:maven-war-plugin:pom:2.0.2' from repository com.springsource.repository.bundles.milestone (http://repository.springsource.com/maven/bundles/m ilestone): Error transferring file: repository.springsource.com Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-war-plugin/2.0.2/maven-war-plugin-2.0.2.pom [WARNING] Unable to get resource 'org.apache.maven.plugins:maven-war-plugin:pom:2.0.2' from repository central (http://repo1.maven.org/maven2): Error transferring file: repo1.maven.org Downloading: http://repository.springsource.com/maven/bundles/release/org/apache/maven/plugins/maven-war-plugin/2.0.2/maven-war-plugin-2.0.2.pom [WARNING] Unable to get resource 'org.apache.maven.plugins:maven-war-plugin:pom:2.0.2' from repository com.springsource.repository.bundles.release (http://repository.springsource.com/maven/bundles/rel ease): Error transferring file: repository.springsource.com Downloading: http://repository.springsource.com/maven/bundles/external/org/apache/maven/plugins/maven-war-plugin/2.0.2/maven-war-plugin-2.0.2.pom [WARNING] Unable to get resource 'org.apache.maven.plugins:maven-war-plugin:pom:2.0.2' from repository com.springsource.repository.bundles.external (http://repository.springsource.com/maven/bundles/ex ternal): Error transferring file: repository.springsource.com Downloading: http://repository.springsource.com/maven/bundles/milestone/org/apache/maven/plugins/maven-war-plugin/2.0.2/maven-war-plugin-2.0.2.pom [WARNING] Unable to get resource 'org.apache.maven.plugins:maven-war-plugin:pom:2.0.2' from repository com.springsource.repository.bundles.milestone (http://repository.springsource.com/maven/bundles/m ilestone): Error transferring file: repository.springsource.com Downloading: http://repository.springsource.com/maven/bundles/snapshot/org/apache/maven/plugins/maven-war-plugin/2.0.2/maven-war-plugin-2.0.2.pom [WARNING] Unable to get resource 'org.apache.maven.plugins:maven-war-plugin:pom:2.0.2' from repository com.springsource.repository.bundles.snapshot (http://repository.springsource.com/maven/bundles/sn apshot): Error transferring file: repository.springsource.com Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-war-plugin/2.0.2/maven-war-plugin-2.0.2.pom [WARNING] Unable to get resource 'org.apache.maven.plugins:maven-war-plugin:pom:2.0.2' from repository central (http://repo1.maven.org/maven2): Error transferring file: repo1.maven.org [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to resolve artifact. GroupId: org.apache.maven.plugins ArtifactId: maven-war-plugin Version: 2.0.2 Reason: Unable to download the artifact from any repository org.apache.maven.plugins:maven-war-plugin:pom:2.0.2 from the specified remote repositories: central (http://repo1.maven.org/maven2), com.springsource.repository.bundles.external (http://repository.springsource.com/maven/bundles/external), com.springsource.repository.bundles.snapshot (http://repository.springsource.com/maven/bundles/snapshot), com.springsource.repository.bundles.release (http://repository.springsource.com/maven/bundles/release), com.springsource.repository.bundles.milestone (http://repository.springsource.com/maven/bundles/milestone) [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1 minute 5 seconds [INFO] Finished at: Mon Aug 16 18:33:13 GMT+05:30 2010 [INFO] Final Memory: 1M/3M [INFO] ------------------------------------------------------------------------


Reply With Quote