Announcement Announcement Module
Collapse
No announcement yet.
is there a MVC "reset" ? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • is there a MVC "reset" ?

    I have a situation. I have spent time developing the domain for a Roo project. then, I did a "web mvc all"....ok, ran fine.

    Upon performing various development tasks, I seem to be in the situation where the web scaffolding is all mixed up. I tried removing all the "controller" classes and, then, performed "web mvc all" again. The project, upon loading in Tomcat, results in tons of exceptions from Spring. Obviously, many things are out of sync in the Roo project.

    Is there any way of "reseting" the MVC part of the Roo project? Ideally, I would like to get the project to a state where I can just do "web mvc setup" and start over again with a clean slate.

    Thanks, Edwin

  • #2
    thats something i need also from time to time...
    One solution for this is to perform backup command in spring roo shell.(when everything is working fine)

    after you can overwrite the files with the backup files. Works.

    Comment


    • #3
      BACK UP FIRST

      1. Remove src/main/webapp
      2. Change pom.xml's project type to jar
      3. Remove any of your scaffolds / web stuff
      4. restart the Roo shell
      5. You should be able to re-run web mvc setup.

      Ken

      Comment


      • #4
        Originally posted by krimple View Post
        BACK UP FIRST


        3. Remove any of your scaffolds / web stuff


        Ken
        Thanks for the quick reply. That's great. Just a little clarification, if I may. What exactly does the above point (#3) mean?

        Thanks, Edwin

        Comment

        Working...
        X