快速开始
我选择的是struts2的modular,
mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes -DarchetypeArtifactId=appfuse-modular-struts -DremoteRepositories= http://static.appfuse.org/releases
-DarchetypeVersion=2.0.1 -DgroupId=com.mycompany.app -DartifactId=appfuse
CD appfuse
cd web
修改数据库设置,
在346行左右
我的是mysql5.0
执行mvn jetty:run-war ,在浏览器输入http://localhost:8080,就可以访问页面了
The default username/password for an admin user is admin/admin. For a regular user, use user/user.
重写了文件,执行 mvn war:inplace
然后执行 mvn jetty:run
我选择的是struts2的modular,
mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes -DarchetypeArtifactId=appfuse-modular-struts -DremoteRepositories= http://static.appfuse.org/releases

CD appfuse
cd web
修改数据库设置,
在346行左右
我的是mysql5.0
执行mvn jetty:run-war ,在浏览器输入http://localhost:8080,就可以访问页面了
The default username/password for an admin user is admin/admin. For a regular user, use user/user.
重写了文件,执行 mvn war:inplace
然后执行 mvn jetty:run