运行 SpringSide RC6 的quick-start.bat时出错

YFS 发布于 2012/09/11 09:48
阅读 887
收藏 0

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

我运行RC6 的quick-start.bat时出错,quickstart和showcase不能运行,出错信息如下:

[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 to local maven repository.
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Springside :: Modules :: Parent
[INFO] Springside :: Module :: Test
[INFO] Springside :: Module :: Core
[INFO] Springside :: Module :: Extension
[INFO] Springside :: Module
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Springside :: Modules :: Parent 4.0.0.RC6
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ springside-parent ---
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ springside-par
ent ---
[INFO] Installing D:\Documents\Java\GitHub\springside4\modules\parent\pom.xml to
C:\Users\Administrator\.m2\repository\org\springside\springside-parent\4.0.0.RC
6\springside-parent-4.0.0.RC6.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Springside :: Module :: Test 4.0.0.RC6
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ springside-test ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.1.1:enforce (enforce-banned-dependencies) @ s
pringside-test ---
[WARNING] Rule 1: org.apache.maven.plugins.enforcer.RequireJavaVersion failed wi
th message:
Detected JDK Version: 1.5.0-5 is not in the allowed range 1.6.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Springside :: Modules :: Parent ................... SUCCESS [1.668s]
[INFO] Springside :: Module :: Test ...................... FAILURE [3.983s]
[INFO] Springside :: Module :: Core ...................... SKIPPED
[INFO] Springside :: Module :: Extension ................. SKIPPED
[INFO] Springside :: Module .............................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.597s
[INFO] Finished at: Tue Sep 11 01:46:43 GMT 2012
[INFO] Final Memory: 5M/10M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:1.
1.1:enforce (enforce-banned-dependencies) on project springside-test: Some Enfor
cer rules have failed. Look above for specific messages explaining why the rule
failed. -> [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!!

加载中
0
鲁鲁
鲁鲁
你的jdk是1.5要升级为1.6就可以
YFS
YFS
果然如此,非常感谢!!
0
一身正气
一身正气
如果这个本身就是使用1.6还是包这个错怎么办?
返回顶部
顶部