Announcement Announcement Module
No announcement yet.
STS 2.10_SR1 Issues Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • STS 2.10_SR1 Issues

    Nothing in WEB-INF was created (as suggested by the blog post)
    e.g. this stuff isn't created:

    Created SRC_MAIN_WEBAPP/WEB-INF/wedding-servlet.xml
    Created SRC_MAIN_WEBAPP/WEB-INF/web.xml
    Created SRC_MAIN_WEBAPP/WEB-INF/jsp/index.jsp
    Created SRC_MAIN_WEBAPP/WEB-INF/urlrewrite.xml

    Maven dependency for spring-transaction was missing, leading to 18 build errors (this was resolved by adding spring-transaction as an artifact in the pom)

    Spring Roo shell does appear to run:

    install jpa -provider HIBERNATE -database HYPERSONIC_PERSISTENT
    - This worked, but had several extra print outs of MANAGED root/pom.xml

    roo> new controller automatic ~.web.RsvpController
    Failed to convert '*' to type JavaType for option 'formBackingObject'

  • #2

    The project structure initially created by Roo was changed between the milestone and the release candidate, so the blog post is likely slightly out of date. The reason for changing the project structure was to allow for Roo to generate 'headless' applications. So the transaction dependencies are added when you install jpa support and the web artifacts and dependencies are added when you create your first controller. This allows Roo to generate initially a very small jar-based application and then grow to a full-blown web application if you desire to do so.