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.
It is not possible to execute Servlet when web.xml is created during servlet creation. To reproduce: - create a new web application project (GlassFish server) - open new file wizard - choose "Web|Servlet" and click Next - provide package name and click Next - check "Add information to deployment descriptor (web.xml)" - click Finish - right-click in editor and choose "Run File". The following error message is raised: Class "NewServlet" neither has a method nor it is a servlet specified in web.xml. If you restart the IDE, it starts to work. Product Version: NetBeans IDE Dev (Build 201109040600) Java: 1.7.0; Java HotSpot(TM) Client VM 21.0-b17 System: Windows XP version 5.1 running on x86; Cp1250; en_US (nb)
*** Bug 211077 has been marked as a duplicate of this bug. ***
2a07352118a8
Integrated into 'main-golden', will be available in build *201204140400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/2a07352118a8 User: David Konecny <dkonecny@netbeans.org> Log: #201668 - Cannot run Servlet when web.xml created by new file wizard