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 simailar like bug #201668 in ant project. It is not possible to execute Servlet when web.xml is created during servlet creation. To reproduce: - create a new Maven 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". It opens just root context probably because clientUrlPart property is empty. If you restart IDE it starts to work. cd D:\Development\builds\nbUserdir-20120925123001\mavenproject2; JAVA_HOME=D:\\jdk1.7.0 D:\\Development\\builds\\20120924\\netbeans\\java\\maven\\bin\\mvn.bat -Dnetbeans.deploy=true -Dnetbeans.deploy.clientUrlPart= package Product Version: NetBeans IDE Dev (Build 201209240001) Java: 1.7.0_07; Java HotSpot(TM) 64-Bit Server VM 23.3-b01 System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb
Reproducible, setting TM = 7.3
Fixed in: web-main #343dbb6a60c9
Integrated into 'main-golden', will be available in build *201210020001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/343dbb6a60c9 User: Martin Janicek <mjanicek@netbeans.org> Log: #218982 - Cannot run Servlet when web.xml created by new file wizard