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.

Bug 193949 - New web project allows incompatible frameworks to be selected
Summary: New web project allows incompatible frameworks to be selected
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: Web Project (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 normal (vote)
Assignee: David Konecny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-30 21:49 UTC by mdeggersbeans
Modified: 2016-07-07 08:54 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mdeggersbeans 2010-12-30 21:49:31 UTC
Steps to reproduce:

1. New web application
2. Select a reasonable name and location
3. Select a server that only supports J2EE 1.4 and below (such as Tomcat 5.5.31)
4. Default to Java 1.4 source level
5. Select JavaServer Faces in Frameworks

This will lead to an application that cannot run on the targeted server with the chosen servlet specification (2.4) if all that's available is JSF 1.2 or 2.0.

This of course can be solved by creating a library with the appropriate JSF jars.

However, a nice enhancement would be to prevent the choice of incompatible servlet specifications / language levels / frameworks in the wizard.
Comment 1 Martin Balin 2016-07-07 08:54:23 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss