Results 1 to 4 of 4

Thread: pizzashop application web controller issue

  1. #1
    Join Date
    Jan 2010
    Posts
    5

    Default pizzashop application web controller issue

    I followed pizzashop tutorial from beginning with ROO in chaper 2.

    Everything was OK till I executed :

    controller all ~.web

    after that I imported project into STS ,

    STS complain that import failed for :

    org.springframework.web.bind.annotation.RequestMap ping;

    I checked pom.xml file and show artifactid org.springframework.web in dependency list.

    Any idea ?
    Thanks
    Raj

  2. #2
    Join Date
    Mar 2008
    Location
    Sydney, AU
    Posts
    974

    Default

    The tutorial states that after adding web artifacts to your application (ie after using the 'controller' command) you need to update the Eclipse/STS workspace dependencies via a 'perform eclipse' command in Roo shell or 'mvn eclipse:eclipse' in the project root. This will update your classpath and add the Spring MVC dependencies. Then refresh your STS workspace and all should be good.

    Please let me know if this resolves your issue.
    Stefan Schmidt
    Software Engineer, Spring Roo
    SpringSource - a division of VMware
    twitter @schmidtstefan

  3. #3
    Join Date
    Jan 2010
    Posts
    5

    Default

    Thanks..

    Raj

  4. #4
    Join Date
    Mar 2008
    Location
    Sydney, AU
    Posts
    974

    Default

    Glad I could help
    Stefan Schmidt
    Software Engineer, Spring Roo
    SpringSource - a division of VMware
    twitter @schmidtstefan

Posting Permissions

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