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.
Analogous to bug 188284. 1. Create a Maven Java EE 5 web application 2. Create a new JSF page, or other JSF-related artefact 3. Deploy the project, when asked about the server, choose WebLogic The following error will occur during deployment: Deployment failed. The message was: java.lang.ClassNotFoundException: javax.faces.webapp.FacesServlet This is because the JSF framework is not configured properly for WebLogic. The IDE should warn the user that a server should be set, before creating a JSF artefact.
Taking over Alexey's JSF and Spring issues.
Should be fixed in http://hg.netbeans.org/web-main/rev/0c326a321241. There are entries: JSF Page - warning added JSF Managed Bean - warning added JSF Faces Configuration - warning added JSF Composite Component - checks for JSF2.0 on classpath JSF Pages from Entity Classes - check already for server Facelets Template - was done as a part of #178401 Facelets Template Client - cannot be created without Facelets Template It means that in every New File wizard should be used warned about missing server or JSF.
Integrated into 'main-golden', will be available in build *201103290400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/0c326a321241 User: Martin Fousek <marfous@netbeans.org> Log: #189309 - The IDE should warn the user when creating JSF artefacts and no target server is set