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.
[Nb 6.8 FCS, jdk 1.6] In case a user is going to open a project with unsupported J2EE version we should display a clear warning that the project's J2EE version is not supported and mark it as broken. Next we can provide link to a page where user find which versions are supported and a how to upgrade his project to a supported version. Current state is that Nb opens such projects without any warning and user get some strange warning and exceptions during creating Servlets etc. See: http://netbeans.org/projects/www/lists/nbusers/archive/2010-01/message/3 issue 167963 This issue is valid for other J2EE project types too.
Instead of warning user during project opening I implemented slightly different strategy. I looked at concrete errors reported and provided better error messages and/or prevented user from getting into an exception situation. If web.xml is too old and user tries to for example apply Safe Delete refactoring or create a new Servlet then user is informed that action is not going to work because web.xml has to be upgraded to 2.4 or higher first; or older version of NB has to be used. Please file bugs for any other cases which are not handled this way and I will fix them. 86c8fa4f1b08
Integrated into 'main-golden', will be available in build *201003230200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/86c8fa4f1b08 User: David Konecny <dkonecny@netbeans.org> Log: #179178 - Handling projects with unsupported J2EE versions
*** Bug 177912 has been marked as a duplicate of this bug. ***
*** Bug 180554 has been marked as a duplicate of this bug. ***