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.
Hello, in your code for developing web apps tutorial the netbeans website http://www.netbeans.org/kb/docs/web/tutorial- webapps.html provides code for the midnight cookies example that can be copied and pasted. After copying it precisely from your web page to the ide the following error is generated Compiling 1 source file to C:\Program Files\Apache Software Foundation\Apache Tomcat 6.0.18 \webapps\ROOT\midnight\build\web\WEB-INF\classes C:\Program Files\Apache Software Foundation\Apache Tomcat 6.0.18\webapps\ROOT\midnight\WEB- INF\classes\com\midnightcookies\FrontController.java:59: addCookie(javax.servlet.http.Cookie) in javax.servlet.http.HttpServletResponse cannot be applied to (com.midnightcookies.Cookie) response.addCookie(cookie); There is no information on this type of error on the internet and typically the error presumes a degree of knowledge unsuitable for a learner. Can you help Thanks Tomche
Jeff, has this tutorial been replaced with this one? http://netbeans.org/kb/docs/web/quickstart-webapps.html
This tutorial has been retired and I have no idea why it would have happened in EE 5 on earlier NB versions anyway. No one else has reported this problem.