Announcement Announcement Module
Collapse
No announcement yet.
Roo wedding rsvp app has 1 error and 71 warnings in STS Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Roo wedding rsvp app has 1 error and 71 warnings in STS

    Hi,

    Upon following the guide with roo v1:
    http://blog.springsource.com/2009/05/27/roo-part-2/

    I got the following 1 error and 71 warnings in STS:
    http://pastie.org/762694

    I had to use pastie as the paste dump was too large for the forum.

    I understand the generics warnings can be suppressed but as for the rest are these a known issue? The ones referring to classpath entry M2_REPO can be hidden by deselecting them in the Problems view configuration but I'd rather understand the problem better first. As for the error well it doesn't make any sense to me. Can roo be made to generate applications with a clean error and warning profile?

    Any help appreciated.

    Thanks.

  • #2
    I have been playing around with Roo in the last few days. I end up always getting errors within Eclipse while going through the Wedding RSVP tutorial. I found that the error occurs after running statement:

    Code:
    logging setup --level DEBUG --package WEB
    The error that occurs is as follows:

    Code:
    Unexpected exception parsing XML document from file [C:/Spring Development/Wedding/src/main/webapp/WEB-INF/spring/webmvc-config.xml]; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'org.springframework.web.servlet.handler.SimpleUrlHandlerMapping#Wedding#src/main/webapp/WEB-INF/spring/webmvc-config.xml#20' is defined

    Comment


    • #3
      Please feel free to log a bug report at https://jira.springsource.org/browse/ROO and we'll take a look at it. Currently we're on holidays so a Jira report will ensure we don't forget to look into this. My instinct, though, is this is probably an issue somewhere within the new Spring MVC 3.0 namespace handler (based on the bean name being auto-generated as opposed to Roo-defined).

      Comment


      • #4
        Done.

        https://jira.springsource.org/browse/ROO-502

        Thanks.

        Comment

        Working...
        X