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.
Spring Portlets should be JavaBasedPortlets but the dialog shows NonJavaPortlets
Now creation of Spring portlet is also allowed in a java application which is a bug. So to fix this, In the wizard iterator of spring portlet - Check if it's a web application - Then check for portlet.xml in WEB-INF dir - Check if the selected runtime server type is of type websynergy You can refer to WebSynergy Portlets module (Ruby,PHP portlet) to see how it can be done.
This issue has been fixed