开发者社区> 问答> 正文

quick-start报错的问题?报错

@江南白衣 你好,想跟你请教个问题:


[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下的仓库都删了,还是不行 真心求解


展开
收起
爱吃鱼的程序员 2020-06-22 22:43:42 389 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    我找到了,你的仓库地址不要有空格。

    修改D:\apache-maven-3.0.4\conf\settings.xml

     <localRepository>d:/local/repo</localRepository>


    字面意思是有非法字符,可以添加maven-X开关查看详细日志

    引用来自“四灭”的答案

    我找到了,你的仓库地址不要有空格。

    修改D:\apache-maven-3.0.4\conf\settings.xml

     <localRepository>d:/local/repo</localRepository>


    我用的默认地址,改了一个地址就正确了,谢谢
    2020-06-22 22:43:59
    赞同 展开评论 打赏
问答分类:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
Tracking-Ransomware-End-To-End 立即下载
Spark SQL: Past, Present and Future 立即下载
Spark SQL:Past Present &Future 立即下载