执行quick-start.bat报错,确定JDK与Maven已经安装好了

发布于 2021-11-14 21:44:46 字数 2248 浏览 857 评论 3

报这个错误是为什么?

[Pre-Requirement] Makesure install JDK 6.0+ and set the JAVA_HOME.
[Pre-Requirement] Makesure install Maven 3.0.4+ 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 :: Project
[INFO] Springside :: Module :: Core
[INFO] Springside :: Module :: Extension
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Springside :: Project 4.0.0.RC3
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ springside-parent --
-
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ springside-par
ent ---
[INFO] Installing E:springside-4.0.0.RC3pom.xml to C:UsersAdministrator.m2
repositoryorgspringsidespringside-parent4.0.0.RC3springside-parent-4.0.0.RC
3.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Springside :: Module :: Core 4.0.0.RC3
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Springside :: Project ............................. SUCCESS [2.791s]
[INFO] Springside :: Module :: Core ...................... FAILURE [11.241s]
[INFO] Springside :: Module :: Extension ................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15.148s
[INFO] Finished at: Thu Jun 21 22:31:41 CST 2012
[INFO] Final Memory: 6M/15M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project springside-core: Could not resolve dep
endencies for project org.springside:springside-core

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

只为守护你 2021-11-16 21:33:20

好像搞定了,原因是我的jdk没弄对,之前都是弄成jre了。。。

月亮是我掰弯的 2021-11-16 16:54:57

有modules目录!

[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] Unable to locate the Javac Compiler in:
  C:Program FilesJavajre7..libtools.jar
Please ensure you are using JDK 1.4 or above and
not a JRE (the com.sun.tools.javac.Main class is required).
In most cases you can change the location of your Java
installation by setting the JAVA_HOME environment variable.
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Springside :: Project ............................. SUCCESS [24.000s]
[INFO] Springside :: Module :: Core ...................... FAILURE [5:15.907s]
[INFO] Springside :: Module :: Extension ................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5:40.594s
[INFO] Finished at: Mon Jul 09 20:31:00 CST 2012
[INFO] Final Memory: 9M/22M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.
3.2:compile (default-compile) on project springside-core: Compilation failure
[ERROR] Unable to locate the Javac Compiler in:
[ERROR] C:Program FilesJavajre7..libtools.jar
[ERROR] Please ensure you are using JDK 1.4 or above and
[ERROR] not a JRE (the com.sun.tools.javac.Main class is required).
[ERROR] In most cases you can change the location of your Java
[ERROR] installation by setting the JAVA_HOME environment variable.
[ERROR] -> [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/MojoFailureExc
eption
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command

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

温柔少女心 2021-11-16 02:47:53

maven依赖springside-core没有在本地找到。 spingside类库没有放到maven仓库里去。

你看看你下载的springside文件夹里面有木有modules

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文