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.
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.
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.
Thanks for the quick reply. That's great. Just a little clarification, if I may. What exactly does the above point (#3) mean?
Originally Posted by krimple