0

本の中でmavenコマンドを使用してhello-worldプロジェクトを作成しました。

mvn archetype:generate -U \ 
-DarchetypeGroupId=net.liftweb \ 
-DarchetypeArtifactId=lift-archetype-blank \ 
-DarchetypeVersion=1.0 \ 
-DgroupId=demo.helloworld \ 
-DartifactId=helloworld \ 
-Dversion=1.0-SNAPSHOT

そして、指示されたように、私はそれを次のように始めます:

mvn jetty:run

次のほかに別のテンプレートを追加したい瞬間まで、すべてが正常に機能します。

my-project/src/main/webapp/index.html

たとえば、index.htmlのすぐ横に価格設定ページ(pricing.html)を「my-project / src / main / webapp/pricing.html」に配置します。しかし、次のURLは私には機能しないようです:http:// localhost:8080 / priceing

ここに何か足りないものがありますか?

4

1 に答える 1

2

Boot.scalaに追加する必要があります: http ://simply.liftweb.net/index-3.2.html

于 2012-05-01T22:10:35.563 に答える