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.
This one was reported by Jens Trapp and Ivo Totev. It is related to the issue of deploying shared or additional libraries/classes to the server at execution time. 1) Create a bunch of servlets and Java classes in a separate directory (not in a web module). 2) Create a web module. 3) On the archive tab of the web module, add the servlets and Java classes from the other directory to be added under WEB-INF classes. 4) Build a WAR file. This WAR file executes fine when deployed to a server. 5) Execute the web module on the integrated Tomcat server. It fails, because the servlet classes are not found. Any classes that are specified on the archives tab should be made available to the server on execution.
Fixed in the Projects infrastructure. Now the classes that are separate from the docbase (but still in the web project) are built into the build directory, which is visible at deploy time.