Details
Description
Using Roo from HEAD (July 15th) at r184, I generated a simple web application using the following script:
create project org.springsource.cddb.domain
install jpa -database HYPERSONIC_IN_MEMORY -provider HIBERNATE
new persistent class jpa -name ~.CompactDisc
add field string -fieldName title -notNull
add field string -fieldName artist -notNull
install finder -finderName findCompactDiscsByTitleLike
install finder -finderName findCompactDiscsByArtistLike
new controller automatic ~.CompactDiscController
(note it's slightly unusual in that the Controller is in the same package as the domain entity)
mvn jetty:run works perfectly
mvn package, and then deploying the war file to either vanilla tomcat or dm Server fails. The home page comes up correctly, but following any of the links under "CompactDisc" (e.g. Create new CompactDisc) fails with a 404: The requested resource (/domain/compactdisc/form) is not available.
Attachments
Issue Links
- is depended on by
-
ROO-138 Integration of Roo with bundlor (install bundlor and associated commands)
-
- Closed
-