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.
NetBeans IDE Dev (Build 200707311200) with the glassfish bundled with that build, Tomcat not installed. Opened Tomcat Servlet Example, resolved missing server to Glassfish, and Ran. I get: Deploying application in domain failed; Error loading deployment descriptors for module [servlets-examples] Line 85 Column 17 -- Deployment descriptor file WEB-INF/web.xml in archive [web]. Element type "jsp-config" must be declared.
I cannot reproduce the issue. I tested it on Linux and Windows and it works OK. Didn't you modify the web.xml somehow? The web.xml that comes with the sample project seems to be valid and thus the error message does not make much sense, unless it was modified somehow. Closing as WORKSFORME.