Talk:HowTo start a new liftwebapp
From Lift
The following archetype creates a project with a bug in the index.html file:
mvn archetype:create -U \ -DarchetypeGroupId=net.liftweb \ -DarchetypeArtifactId=lift-archetype-basic \ -DarchetypeVersion=0.9 \ -DremoteRepositories=http://scala-tools.org/repo-releases \ -DgroupId=net.liftweb.hello -DartifactId=hello-lift
In src/main/webapp/index.html you can see that the 3rd line is wrong. When the page is rendered this line does not appear.
<lift:surround with="default" at="content"> <h2>Welcome to the your project!</h2> <p><lift:HelloWorld.howdy /></p> <--------- bug </lift:surround>
This should read as:
<lift:surround with="default" at="content"> <h2>Welcome to the your project!</h2> <p><lift:snippet type="HelloWorld:howdy" /></p> </lift:surround>
I had to use Maven 2.0.9 on OSX (default 2.0.6) to get this to work. 2.0.6 failed to download the dependencies correctly.

