lift helloWorld

本文介绍如何使用Maven来搭建基于Scala 2.8的Lift Web应用程序。主要内容包括:Maven的安装与环境配置验证、通过指定特定的archetype来生成新的Lift项目、启动Jetty服务器进行应用测试。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

xp , scala2.8 apache-maven-2.2.1
============

1 . 下载并安装Maven

配置好环境变量后测试
mvn --version

2. 创建lift
Using Scala 2.8
mvn archetype:generate ^
-DarchetypeGroupId=net.liftweb ^
-DarchetypeArtifactId=lift-archetype-basic_2.8.0 ^
-DarchetypeVersion=2.1-SNAPSHOT ^
-DarchetypeRepository=http://scala-tools.org/repo-snapshots ^
-DremoteRepositories=http://scala-tools.org/repo-snapshots ^
-DgroupId=com.company ^
-DartifactId=lift_test ^
-Dversion=1.0


The last 3 arguments are about your newly created application: the package (com.company), name (lift_test) and version (1.0). Change it as needed.

3. Start the Webserver
mvn jetty:run

参考
http://www.assembla.com/wiki/show/liftweb/Using_Maven
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值