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.
Build 200408051800 1) Invoke wizard "Web Project with Existing Ant Script" 2) Go to 6th page "Classpath" 3) ERROR: Missing servlet and/or JSP API jars (depends on J2EE specification level). Notice: I'd expect unchecked "Separate classpath ..." checkbox and default filled API jars.
I'm not so sure they should be included automatically by the wizard. (1) Not all package roots in the project are necessarily using servlet APIs. Some may be data beans or whatever you like. (2) Presumably you are adding some copy of servlet.jar or similar to your classpath in the Ant script already, just as in any other Ant script, and the IDE can't guess exactly which one - not obvious that it is better for the IDE to fill in some CP entries which you are not in fact using at runtime (there are reasons pro and con). UI spec does not currently request default addition of these JARs. Needs a conscious decision.
AFAIK the user currently has no easy way to include any IDE libraries. So this would need to be changed in the first place. IMO it would be easier for some users to just add the libs package with IDE to get code completion work, even though it is not 100% reliable and it would be more accurate to include the libs that the project is actually built with (Look at ant/freeform/eg/web_jakarta - it uses jar files from tomcat installation (this is how it is setup in sample project jakarta build.xml). If we decide to allow adding libraries to project I would agree with adding them to wizard by default (and the user can always replace them with the 'right' version).
Hopefully it will be solved in next release by better library management.
Radko, do you plan to fix this for 4.1? I set the related issue #56356 in the EJB freeform to ENHANCEMENT/promo-F, please do the same if you think it's appropriate.
Changed to ENHANCEMENT as Andrei proposed.
TM 5.0->TBD
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