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.
Bundled CDC Sample : "HelloServlet" Compilation failed. Looks like required libraries are not configured by default. This is going to affect Out of the box ecperience. Compiling 2 source files to G:\work\MobileApps\Ricoh\CDC55\HelloServlet\build\classes G:\work\MobileApps\Ricoh\CDC55\HelloServlet\src\hello\Activator.java:40: package org.osgi.framework does not exist import org.osgi.framework.BundleActivator; G:\work\MobileApps\Ricoh\CDC55\HelloServlet\src\hello\Activator.java:41: package org.osgi.framework does not exist import org.osgi.framework.BundleContext; G:\work\MobileApps\Ricoh\CDC55\HelloServlet\src\hello\Activator.java:42: package org.osgi.framework does not exist import org.osgi.framework.ServiceReference; G:\work\MobileApps\Ricoh\CDC55\HelloServlet\src\hello\Activator.java:43: package org.osgi.service.http does not exist import org.osgi.service.http.HttpService; G:\work\MobileApps\Ricoh\CDC55\HelloServlet\src\hello\Activator.java:48: cannot find symbol symbol: class BundleActivator public class Activator implements BundleActivator G:\work\MobileApps\Ricoh\CDC55\HelloServlet\src\hello\Activator.java:53: cannot find symbol symbol : class HttpService location: class hello.Activator private HttpService httpService = null; G:\work\MobileApps\Ricoh\CDC55\HelloServlet\src\hello\Activator.java:54: cannot find symbol symbol : class ServiceReference location: class hello.Activator private ServiceReference serviceRef = null; G:\work\MobileApps\Ricoh\CDC55\HelloServlet\src\hello\Activator.java:56: cannot find symbol symbol : class BundleContext location: class hello.Activator public void start(BundleContext bc) throws Exception G:\work\MobileApps\Ricoh\CDC55\HelloServlet\src\hello\Activator.java:87: cannot find symbol symbol : class BundleContext location: class hello.Activator public void stop(BundleContext arg0) throws Exception G:\work\MobileApps\Ricoh\CDC55\HelloServlet\src\hello\HelloServlet.java:43: package javax.servlet does not exist import javax.servlet.ServletException; G:\work\MobileApps\Ricoh\CDC55\HelloServlet\src\hello\HelloServlet.java:44: package javax.servlet.http does not exist import javax.servlet.http.HttpServlet; G:\work\MobileApps\Ricoh\CDC55\HelloServlet\src\hello\HelloServlet.java:45: package javax.servlet.http does not exist import javax.servlet.http.HttpServletRequest; G:\work\MobileApps\Ricoh\CDC55\HelloServlet\src\hello\HelloServlet.java:46: package javax.servlet.http does not exist import javax.servlet.http.HttpServletResponse; G:\work\MobileApps\Ricoh\CDC55\HelloServlet\src\hello\HelloServlet.java:51: cannot find symbol symbol: class HttpServlet public class HelloServlet extends HttpServlet G:\work\MobileApps\Ricoh\CDC55\HelloServlet\src\hello\HelloServlet.java:56: cannot find symbol symbol : class HttpServletRequest location: class hello.HelloServlet public void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { G:\work\MobileApps\Ricoh\CDC55\HelloServlet\src\hello\HelloServlet.java:56: cannot find symbol symbol : class HttpServletResponse location: class hello.HelloServlet public void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { G:\work\MobileApps\Ricoh\CDC55\HelloServlet\src\hello\HelloServlet.java:56: cannot find symbol symbol : class ServletException location: class hello.HelloServlet public void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { G:\work\MobileApps\Ricoh\CDC55\HelloServlet\src\hello\HelloServlet.java:65: cannot find symbol symbol : class HttpServletRequest location: class hello.HelloServlet public void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { G:\work\MobileApps\Ricoh\CDC55\HelloServlet\src\hello\HelloServlet.java:65: cannot find symbol symbol : class HttpServletResponse location: class hello.HelloServlet public void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { G:\work\MobileApps\Ricoh\CDC55\HelloServlet\src\hello\HelloServlet.java:65: cannot find symbol symbol : class ServletException location: class hello.HelloServlet public void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { G:\work\MobileApps\Ricoh\CDC55\HelloServlet\src\hello\HelloServlet.java:75: cannot find symbol symbol : class HttpServletRequest location: class hello.HelloServlet protected void processRequest(HttpServletRequest req, HttpServletResponse resp) G:\work\MobileApps\Ricoh\CDC55\HelloServlet\src\hello\HelloServlet.java:75: cannot find symbol symbol : class HttpServletResponse location: class hello.HelloServlet protected void processRequest(HttpServletRequest req, HttpServletResponse resp) G:\work\MobileApps\Ricoh\CDC55\HelloServlet\src\hello\Activator.java:70: cannot find symbol symbol : class HttpService location: class hello.Activator this.httpService = (HttpService)bc.getService(serviceRef); 23 errors
This is s Servlet. This project should be opened as Webapplication rather than CDC application. There should be some instructions on how to use this project and what is the expected result etc.
esanches, please evaluate these bugs. Some of them might be fixed already, some of them may be documented in other way, etc. thanks.
Will remove in 5.5.1 build; SDK/J Servlet support will be postponed until an OSGI integrated solution can be found.
Chose wrong resolution; the removal fixes this issue and should be marked as fixed.
No objections to removal of OSGi project/features, now marking issue to be resolved later.
the general policy for issuezilla is "do not use the LATER/REMIND" resolution. (http://qa.netbeans.org/bugzilla/issue-lifecycle.html). These states are confusing and should be removed from issuezilla (unfortunately colabnet doesn't know how to do it). Bug shouldn't be in RESOLVED state until it is really resolved. IMO, that's not the case of LATER/REMIND. Please, reevaluate the issue 1, When you don't plan to fix the issue close it as WONTFIX 2, you don't want to fix it now -> use TM=future thank you for understanding
Servlet support removed from 5.5.1 and 6.0