springside4.0quick-start.batエラー原因

3397 ワード

チェックアウト後、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\spring_test\tools\h2\pom.xml) has 1 error[ERROR]     Non-resolvable parent POM: Could not find artifact org.springside:springside-parent:pom:4.0.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 4, column 10 -> [Help 2][ERROR][ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.[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 read 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システム指定されたパスが見つかりません.任意のキーを押して続行してください.解決方法:
まずspringside 4trunkmodulesparentinstallを実行します.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]

チェックしてみるとspringside 4modulesparentの下の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