springside4.0quick-start.bat报错原因checkout 之后,点击quick-start.bat,报错。[INFO] Scanning for proj
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出现以下错误:
public/ was cached in the local repository, resolution will not be reattempteduntil 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.之前的问题解决了,又出现了一个问题:
this namespace yetThis 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,到下载即可。
3. 运行成功,访问时,居然提示页面不存在。看错误信息,发现是
"D:\work\svn\springside4\examples\mini-web\src\main\webapp\WEB-INF\views\account\userList.jsp" not found

if exist "tools\ant\apache-ant-1.8.2" set ANT="%cd%\tools\ant\apache-ant-1.8.2\bin\ant.bat"
你按这个目录放再试试
12 楼 每个人都可爱 2012-03-04 把showCase运行起来了,但是怎么Debug? 13 楼 sony87615 2012-04-13 [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 :: Module :: Parent
[INFO] Springside :: Module :: Core
[INFO] Springside :: Module :: Extension
[INFO] Springside
[INFO]
[INFO] ------------------------------------
[INFO] Building Springside :: Module :: Parent 4.0.0.RC2
[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 D:\resource\springside-4.0.0.RC2\modules\parent\pom.xml to C:\
Users\Administrator\.m2\repository\org\springside\springside-parent\4.0.0.RC2\sp
ringside-parent-4.0.0.RC2.pom
[INFO]
[INFO] ------------------------------------
[INFO] Building Springside :: Module :: Core 4.0.0.RC2
[INFO] ------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ springside-core ---
[INFO] Deleting D:\resource\springside-4.0.0.RC2\modules\core\target
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ springside
-core ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory D:\resource\springside-4.0.0.RC2\modu
les\core\src\main\resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ springside-co
re ---
[INFO] Compiling 29 source files to D:\resource\springside-4.0.0.RC2\modules\cor
e\target\classes
[INFO] -------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------
[ERROR] Failure executing javac, but could not parse the error:
错误: 读取C:\Users\Administrator\.m2\repository\org\hibernate\hibernate-core\4.1
.1.Final\hibernate-core-4.1.1.Final.jar时出错; invalid CEN header (bad signature
)
错误: 读取C:\Users\Administrator\.m2\repository\net\sourceforge\htmlunit\htmluni
t\2.9\htmlunit-2.9.jar时出错; invalid CEN header (bad signature)
错误: 读取C:\Users\Administrator\.m2\repository\xalan\xalan\2.7.1\xalan-2.7.1.ja
r时出错; invalid CEN header (bad signature)
错误: 读取C:\Users\Administrator\.m2\repository\org\seleniumhq\selenium\selenium
-firefox-driver\2.20.0\selenium-firefox-driver-2.20.0.jar时出错; invalid LOC hea
der (bad signature)
错误: 读取C:\Users\Administrator\.m2\repository\org\seleniumhq\selenium\selenium
-ie-driver\2.20.0\selenium-ie-driver-2.20.0.jar时出错; invalid LOC header (bad s
ignature)
错误: 读取C:\Users\Administrator\.m2\repository\net\java\dev\jna\jna\3.4.0\jna-3
.4.0.jar时出错; invalid CEN header (bad signature)
警告: [options] 未与 -source 1.6 一起设置引导类路径
6 个错误
1 个警告
[INFO] 1 error
[INFO] -------------------------
[INFO] ------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Springside :: Module :: Parent .................... SUCCESS [0.251s]
[INFO] Springside :: Module :: Core ...................... FAILURE [0.964s]
[INFO] Springside :: Module :: Extension ................. SKIPPED
[INFO] Springside ........................................ SKIPPED
[INFO] ------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------
[INFO] Total time: 1.391s
[INFO] Finished at: Fri Apr 13 16:50:53 CST 2012
[INFO] Final Memory: 8M/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] Failure executing javac, but could not parse the error:
[ERROR] 错误: 读取C:\Users\Administrator\.m2\repository\org\hibernate\hibernate-
core\4.1.1.Final\hibernate-core-4.1.1.Final.jar时出错; invalid CEN header (bad s
ignature)
[ERROR] 错误: 读取C:\Users\Administrator\.m2\repository\net\sourceforge\htmlunit
\htmlunit\2.9\htmlunit-2.9.jar时出错; invalid CEN header (bad signature)
[ERROR] 错误: 读取C:\Users\Administrator\.m2\repository\xalan\xalan\2.7.1\xalan-
2.7.1.jar时出错; invalid CEN header (bad signature)
[ERROR] 错误: 读取C:\Users\Administrator\.m2\repository\org\seleniumhq\selenium\
selenium-firefox-driver\2.20.0\selenium-firefox-driver-2.20.0.jar时出错; invalid
LOC header (bad signature)
[ERROR] 错误: 读取C:\Users\Administrator\.m2\repository\org\seleniumhq\selenium\
selenium-ie-driver\2.20.0\selenium-ie-driver-2.20.0.jar时出错; invalid LOC heade
r (bad signature)
[ERROR] 错误: 读取C:\Users\Administrator\.m2\repository\net\java\dev\jna\jna\3.4
.0\jna-3.4.0.jar时出错; invalid CEN header (bad signature)
[ERROR] 警告: [options] 未与 -source 1.6 一起设置引导类路径
[ERROR] 6 个错误
[ERROR] 1 个警告
[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!!!
请按任意键继续. . .
谁碰到过这个问题?我运行quick-start.bat的时候报这个错,我看了maven的repository,里面是有hibernate的包的……