Automatic titlecase of snippet class names broken
From the list:
Hello,
I have set a new project using:
mvn archetype:generate -U -DarchetypeGroupId=net.liftweb -
DarchetypeArtifactId=lift-archetype-blank -DarchetypeVersion=2.0-
scala280-SNAPSHOT -DgroupId=demo.helloworld -DartifactId=helloworld -
Dversion=2.0-scala280-SNAPSHOT -DarchetypeRepository=http://scala-
tools.org/repo-snapshots -DremoteRepositories=http://scala-tools.org/
repo-snapshots
Then into the helloworld folder, running mvn jetty:run,
browsing to localhost:8080 received:
Exception occured while processing/
Message: java.lang.NoClassDefFoundError: demo/helloworld/snippet/
helloWorld (wrong name: demo/helloworld/snippet/HelloWorld)
java.lang.ClassLoader.defineClass1(Native Method)
....
On index.html, modified
<lift:helloWorld.howdy>
to
<lift:HelloWorld.howdy>
And the application worked.
Shouldn't the application have worked with
<lift:helloWorld.howdy>?
Hello,
I have set a new project using:
mvn archetype:generate -U -DarchetypeGroupId=net.liftweb -
DarchetypeArtifactId=lift-archetype-blank -DarchetypeVersion=2.0-
scala280-SNAPSHOT -DgroupId=demo.helloworld -DartifactId=helloworld -
Dversion=2.0-scala280-SNAPSHOT -DarchetypeRepository=http://scala-
tools.org/repo-snapshots -DremoteRepositories=http://scala-tools.org/
repo-snapshots
Then into the helloworld folder, running mvn jetty:run,
browsing to localhost:8080 received:
Exception occured while processing/
Message: java.lang.NoClassDefFoundError: demo/helloworld/snippet/
helloWorld (wrong name: demo/helloworld/snippet/HelloWorld)
java.lang.ClassLoader.defineClass1(Native Method)
....
On index.html, modified
<lift:helloWorld.howdy>
to
<lift:HelloWorld.howdy>
And the application worked.
Shouldn't the application have worked with
<lift:helloWorld.howdy>?
Leave a comment