This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
In a Java Web-Web Application with Spring Web MVC Framework, using the New File Wizard to add (a) Spring Framework|Abstract Controller and (b) Spring Framework|Simple Form Controller produces source code errors. This is because the generated code uses org.springframework.web.servlet.mvc.SimpleFormController which is not compatible with the Spring Framework Library version in use, namely version 4.0.1. The error messages can be removed by adding Spring Framework 3.2.7 to the project but: - (a) I assume that it is not the intention to use an old version of Spring, and (b) org.springframework.web.servlet.mvc.SimpleFormController is then shown as deprecated in any event.