Good day,
I had a working project running 1.1.2. I upgraded to 1.1.3 and the following issues began. I have not found a work-around but wonder if there is a technique for overriding methods that I should be using and am not.
In my AthleteController I have the following:
and in my roo shell it instantly complains:Code:@RequestMapping(value = "/{id}", method = RequestMethod.GET) public String show(@PathVariable("id") Long id, Model uiModel) { AthleteController.addBirthdayDateTimeFormatPatterns(uiModel); uiModel.addAttribute("athlete", Athlete.findAthlete(id)); uiModel.addAttribute("itemId", id); return "athletes/show"; }
For basically every method that I have overridden in my controllers it complains. (As I fix one, the next one comes up complaining in the shell.) Renaming the method name does stop the complaining,but Roo then also re-gen's the method in the _Roo_ class.Code:Method 'show' already defined in target type 'com.blah.controllers.AthleteController' (ITD target 'com.blah.controllers.AthleteController_Roo_Controller')
Is there a proper way to override methods in 1.1.3 now that I am not following? Is there any more information that I can provide to help?
Thanks in advance.


Reply With Quote