appfuse-beginner2

使用maven创建一个appfuse项目:

命令:

mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes -DarchetypeArtifactId=appfuse-basic-struts -DremoteRepositories=http://static.appfuse.org/releases -DarchetypeVersion=2.0.1 -DgroupId=org.lungma.appfuse -DartifactId=appfuseDemo

注意:使用了以下命令,均报错,来自appfuse的官方网站入门文章;

mvn archetype:generate -DarchetypeGroupId=org.appfuse.archetypes -DarchetypeArtifactId=appfuse-modular-struts-archetype -DremoteRepositories=http://static.appfuse.org/releases -DarchetypeVersion=2.0.1 -DgroupId=com.lungma -DartifactId=appfuseDemo

err信息:

err1:

[ERROR] ResourceManager : unable to find resource 'archetype-resources/core/src/main/java/org/appfuse/core/Core.java' in any resource loader.

err2:

[ERROR] BUILD ERROR

[INFO]------------------------------------------------------------------------

[INFO]Errorexecutinganttasks

Embeddederror:Thefollowingerroroccurredwhileexecutingthisline:

F:\study\lungma\appfuse\demo\source\appfuseDemo\src\test\resources\login.xml:1:

Step[invoke"getLoginPage"(1/6)]:HTTPerror404,at:invoke

[INFO] ------------------------------------------------------------------------

err3:

[INFO] ------------------------------------------------------------------------

[ERROR]BUILDERROR

[INFO]------------------------------------------------------------------------

[INFO]AnAntBuildExceptionhasoccured:Thefollowingerroroccurredwhileexe

cutingthisline:

E:\works\projects\qingwa\development\architecture\demo\violet-2\web\src\test\res

ources\web-tests.xml:50:HTTPerror500

500InternalServerErrorforhttp://localhost:8081/web-1.0-SNAPSHOT/passwordHin

t.html?username=admin

相关推荐