Results 1 to 2 of 2

Thread: STS 2.10_SR1 Issues

  1. #1
    Join Date
    Apr 2008
    Posts
    151

    Default 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
    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. #2
    Join Date
    Mar 2008
    Location
    Sydney, AU
    Posts
    974

    Default

    @Jabberz

    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.

    HTH
    -Stefan

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •