springside4.0quick-start.bat报错原因

checkout 之后,点击quick-start.bat,报错。
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project org.springside:h2-starts:4.0.0-SNAPSHOT (E:\workspace\spri
ng_test\tools\h2\pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM: Could not find artifact org.springside:sp
ringside-parent:pom:4.0.0-SNAPSHOT and 'parent.relativePath' points at wrong loc
al POM @ line 4, column 10 -> [Help 2]
[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/ProjectBuildin
gException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableMo
delException
系统找不到指定的路径。
请按任意键继续. . .

解决方法:

先运行springside4\trunk\modules\parent\install.bat

 

 

 

 

 

1.运行quickstart.bat出现以下错误:

[ERROR]     Non-resolvable parent POM: Failure to find org.springside:springside-parent:pom:4.0.0-SNAPSHOT in http:/
/localhost:8081/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted
until the update interval of nexus has elapsed or updates are forced and 'parent.relativePath' points at wrong local
 POM @ line 5, column 12 -> [Help 2]

 检查后发现是要先运行springside4\modules\parent下的install.bat。

 2.之前的问题解决了,又出现了一个问题:

 D:\work\svn\springside4\examples\mini-service\bin\db\build.xml:4: Problem: failed to create task or type

antlib:org.
apache.maven.artifact.ant:dependencies
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
No types or tasks have been defined in this namespace yet

This appears to be an antlib declaration.
Action: Check that the implementing library exists in one of:
        -D:\Program Files\apache-ant-1.8.2\bin\..\lib
        -C:\Users\zhanglong\.ant\lib
        -a directory added on the command line with the -lib argument

 检查后发现是少了maven-ant-tasks.jar,到http://maven.apache.org/ant-tasks/download.html下载即可。

3. 运行成功,访问http://localhost:8084/mini-web/时,居然提示页面不存在。看错误信息,发现是

 ERROR: PWC6117: File "D:\work\svn\springside4\examples\mini-web\src\main\webapp\WEB-INF\views\account\userList.jsp" not found
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值