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] Error executing ant tasks

Embedded error: The following error occurred while executing this line:
F:\study\lungma\appfuse\demo\source\appfuseDemo\src\test\resources\login.xml:1:
Step[invoke "get Login Page" (1/6)]: HTTP error 404, at: invoke
[INFO] ------------------------------------------------------------------------

 

err3:

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] An Ant BuildException has occured: The following error occurred while exe
cuting this line:
E:\works\projects\qingwa\development\architecture\demo\violet-2\web\src\test\res
ources\web-tests.xml:50: HTTP error 500

500 Internal Server Error for http://localhost:8081/web-1.0-SNAPSHOT/passwordHin
t.html?username=admin

你可能感兴趣的:(maven,Web,ant,struts,Appfuse)