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.
Steps to reproduce: 1. Create new Java Web app and select Glasfish 3.1 as a server 2. Right click on index.jsp in Project window and select Run 3. After the page is opened in browser, right click on index.jsp in Project window and select View Servlet 4. Error dialog is shown, saying that the action cannot be performed and that I have to run the JSP page first I also tried to deploy the app, but without any change Product Version: NetBeans IDE Dev (Build 201103080000) Java: 1.6.0_24; Java HotSpot(TM) Client VM 19.1-b02 System: Solaris 5.11
was the web app a java ee 5 or java ee 6... is there a sun-web.xml/glassfish-web.xml file in the project? What is its content?
It is JavaEE 6. There is no sun-web.xml or glassfish-web.xml, it is really just new project with default settings (maybe except of the server, also the choice "Enable Context and dependencies injections" is not checked) without any frameworks. If I check the "Enable Context ..." then beans.xml is added, but the problem persists. Also there is no special output in IDE log (or console) after this command
I have just tried the same on Win7 and it works and glassfish-web.xml is in WEB-INF folder however on Solaris the file is missing.
Ok, assigning back to GlassFish plugin.
in a recent 7.1 dev build. Tested ant and maven based web app projects. Reopen with more detailed steps to reproduce, if this is a problem for you in a recent dev build of NetBeans