Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Complete
-
2.0.0.RC3
-
macOS 10.12, Java8, 16gb/1tb SSD
Description
This Roo script
project setup --topLevelPackage topdomain --projectName "Tester" --java 8 --multimodule STANDARD
web mvc setup
web mvc view setup --type THYMELEAF
web mvc templates setup --type THYMELEAF
creates an error "Type mismatch: cannot convert from Class<ConcurrencyException> to Class<? extends Throwable>[]" in the method:
@ExceptionHandler(ConcurrencyException.class) public ModelAndView concurrencyException(final ConcurrencyException ex) { return ex.populateAndGetFormView(); }
of the topdomain.application.web.advices.ConcurrencyExceptionManager class.
ConcurrencyException being part of io.springlets.web.mvc.util.concurrency.
As this was my first entry into using Roo 2 it's not obvious how to fix it. At any rate created code should compile and if there insufficient data Roo should refuse to go forward.