Appfuse2.1安装指南
1.按照Appfuse官网的快速指南里面的"Createaproject"节,创建一个工程.
http://appfuse.org/display/APF/AppFuse+QuickStart#AppFuseQuickStart-run
2.下载AppFuse2.1.0Dependencies:http://java.net/projects/appfuse/downloads/download/appfuse-dependencies-2.1.0.tar.gz
将下载的压缩文件解压缩.
将maven_home/conf/settings.xml里面的localRepository设置为解压缩的目录(例如:<localRepository>d:/.m2/repository</localRepository>)
3.在创建的工程根目录下面打开"pom.xml",修改数据库连接密码,文档最后面(jdbc.password)
4.在创建的工程根目录下面打开"pom.xml",在"project/properties"节点里面加入下面的设置
<!-- dependency settings --> <commons.beanutils.version>1.7.0</commons.beanutils.version> <commons.collections.version>3.1</commons.collections.version> <commons.dbcp.version>1.3</commons.dbcp.version> <commons.fileupload.version>1.2.1</commons.fileupload.version> <commons.io.version>2.0.1</commons.io.version> <commons.lang.version>2.3</commons.lang.version> <displaytag.version>1.2</displaytag.version> <javamail.version>1.4</javamail.version> <servlet.version>2.5</servlet.version> <jstl.version>1.1.2</jstl.version> <log4j.version>1.2.13</log4j.version> <ehcache.version>2.3.1</ehcache.version> <ehcache.web.version>2.0.3</ehcache.web.version> <sitemesh.version>2.4.2</sitemesh.version> <cxf.version>2.2.9</cxf.version> <aspectj.version>1.6.10</aspectj.version> <compass.version>2.2.0</compass.version> <dwr.version>2.0.3</dwr.version> <hibernate.version>3.6.1.Final</hibernate.version> <jpa.version>2.0-cr-1</jpa.version> <slf4j.version>1.5.6</slf4j.version> <spring.security.version>3.0.5.RELEASE</spring.security.version> <urlrewrite.version>3.1.0</urlrewrite.version> <struts.menu.version>2.4.3</struts.menu.version> <velocity.version>1.4</velocity.version>
5.在创建的工程根目录下面打开"pom.xml"
186行
<includes>ApplicationResources_*.properties</includes>
替换为
<includes>ApplicationResources_*.properties,displaytag_*.properties,errors_*.properties</includes>
6.更改"src\main\resources\hibernate.cfg.xml"文件的DTD为
http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd7.在你的工程根目录运行:
mvn appfuse:full-source8.在你的工程根目录运行:
mvn jetty:run
9.打开浏览器在地址栏输入"http://localhost:8080",现在你应该能看到登录画面,你可以用用户名/密码:"admin/admin"登录
相关推荐
changNet 2013-08-27
gretaguo 2013-08-26
yygy0 2013-04-11
gretaguo 2013-04-10
zhongminli 2013-04-10
chenyingSunny 2013-04-08
gretaguo 2012-11-06
changNet 2012-07-20
gretaguo 2012-07-20
owilson 2012-04-18
changNet 2012-04-18
jeson00 2012-03-06
yygy0 2012-02-26
xiaoguanmeizi 2011-10-30
chenyingSunny 2011-10-10
yygy0 2011-08-31
yygy0 2011-08-08