@江南白衣 你好,想跟你请教个问题:
[Pre-Requirement] Makesure install JDK 6.0+ and set the JAVA_HOME.
[Pre-Requirement] Makesure install Maven 3.0.3+ and set the PATH.
[Step 1] Install all springside modules and archetype to local maven repository.
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Springside :: Module :: Parent
[INFO] Springside :: Module :: Test
[INFO] Springside :: Module :: Core
[INFO] Springside :: Module :: Extension
[INFO] Springside :: Module
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Springside :: Module :: Parent 4.0.1.GA
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ springside-parent ---
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ springside-paren
t ---
[INFO] Installing E:\GitHub\springside4-4.0.1.GA\springside4-4.0.1.GA\modules\pa
rent\pom.xml to D:\Program Files\apache-maven-3.0.4\repository\org\springside\sp
ringside-parent\4.0.1.GA\springside-parent-4.0.1.GA.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Springside :: Module :: Test 4.0.1.GA
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ springside-test ---
[INFO] Deleting E:\GitHub\springside4-4.0.1.GA\springside4-4.0.1.GA\modules\test
\target
[INFO]
[INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-banned-dependencies) @ spr
ingside-test ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ springside
-test ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ springside-test
---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 13 source files to E:\GitHub\springside4-4.0.1.GA\springside4-4
.0.1.GA\modules\test\target\classes
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Springside :: Module :: Parent .................... SUCCESS [0.297s]
[INFO] Springside :: Module :: Test ...................... FAILURE [2.321s]
[INFO] Springside :: Module :: Core ...................... SKIPPED
[INFO] Springside :: Module :: Extension ................. SKIPPED
[INFO] Springside :: Module .............................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.774s
[INFO] Finished at: Tue Dec 25 15:03:39 CST 2012
[INFO] Final Memory: 13M/23M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.
0:compile (default-compile) on project springside-test: Fatal error compiling: C
ompilerException: IllegalArgumentException: Illegal character in path at index 1
5: jar:/D:/Program Files/apache-maven-3.0.4/repository/org/springframework/sprin
g-test/3.1.3.RELEASE/spring-test-3.1.3.RELEASE.jar!org/springframework/test/cont
ext/junit4/AbstractJUnit4SpringContextTests.class -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[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 rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionE
xception
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :springside-test
Error Happen!!
请按任意键继续. . .
我把这个maven下的仓库都删了,还是不行 真心求解
我找到了,你的仓库地址不要有空格。
修改D:\apache-maven-3.0.4\conf\settings.xml
<localRepository>d:/local/repo</localRepository>
我找到了,你的仓库地址不要有空格。
修改D:\apache-maven-3.0.4\conf\settings.xml
<localRepository>d:/local/repo</localRepository>
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。