8liuhongfei 发布于 2013/05/05 22:58
阅读 492
收藏 0

@江南白衣 你好,想跟你请教个问题:(在网上找了很多类似的问题但是好像都没有解决,jdk1.6.0_10,apache-maven-3.0.3,apache-ant-1.8.4)

[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] Springside :: Module :: Parent
[INFO] Springside :: Module :: Test
[INFO] Springside :: Module :: Core
[INFO] Springside :: Module :: Extension
[INFO] Springside :: Module
[INFO] ------------------------------------------------------------------------
[INFO] Building Springside :: Module :: Parent 4.0.1.GA
[INFO] ------------------------------------------------------------------------
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ springside-parent ---
[INFO] --- maven-install-plugin:2.4:install (default-install) @ springside-paren
t ---
[INFO] Installing I:\springside4-4.0.1.GA\springside4-4.0.1.GA\modules\parent\po
m.xml to C:\Documents and Settings\Administrator\.m2\repository\org\springside\s
[INFO] ------------------------------------------------------------------------
[INFO] Building Springside :: Module :: Test 4.0.1.GA
[INFO] ------------------------------------------------------------------------
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ springside-test ---
[INFO] Deleting I:\springside4-4.0.1.GA\springside4-4.0.1.GA\modules\test\target

[INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-banned-dependencies) @ spr
ingside-test ---
[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] --- maven-compiler-plugin:3.0:compile (default-compile) @ springside-test
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 13 source files to I:\springside4-4.0.1.GA\springside4-4.0.1.GA
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] Springside :: Module :: Parent .................... SUCCESS [0.547s]
[INFO] Springside :: Module :: Test ...................... FAILURE [15.844s]
[INFO] Springside :: Module :: Core ...................... SKIPPED
[INFO] Springside :: Module :: Extension ................. SKIPPED
[INFO] Springside :: Module .............................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 16.735s
[INFO] Finished at: Sun May 05 22:53:11 CST 2013
[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
7: jar:/C:/Documents and Settings/Administrator/.m2/repository/org/springframewo
est/context/junit4/AbstractJUnit4SpringContextTests.class -> [Help 1]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[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
[ERROR] After correcting the problems, you can resume the build with the command

[ERROR]   mvn <goals> -rf :springside-test
Error Happen!!
请按任意键继续. . .