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.

Bug 129837

Summary: Cannot build REST ws from patterns
Product: webservices Reporter: Lukas Jungmann <jungi>
Component: RESTAssignee: Peter Liu <petertliu>
Status: VERIFIED FIXED    
Severity: blocker Keywords: REGRESSION, TEST
Priority: P1    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Lukas Jungmann 2008-03-11 19:59:08 UTC
-create new REST WS from patterns (ie. use the generic one)
-build project

=>
Compiling 1 source file to /home/lukas/NetBeansProjects/WebApplication2/build/web/WEB-INF/classes
/home/lukas/NetBeansProjects/WebApplication2/src/java/test/GenericResource.java:12: cannot find symbol
symbol  : class HttpContext
location: package javax.ws.rs.core
import javax.ws.rs.core.HttpContext;
/home/lukas/NetBeansProjects/WebApplication2/src/java/test/GenericResource.java:28: cannot find symbol
symbol  : class HttpContext
location: class test.GenericResource
    @HttpContext
2 errors
/home/lukas/NetBeansProjects/WebApplication2/nbproject/build-impl.xml:346: The following error occurred while executing
this line:
/home/lukas/NetBeansProjects/WebApplication2/nbproject/build-impl.xml:175: Compile failed; see the compiler error output
for details.
BUILD FAILED (total time: 0 seconds)
Comment 1 Peter Liu 2008-03-11 21:02:09 UTC
Fix checked into the trunk.

Comment 2 Lukas Jungmann 2008-03-11 23:05:10 UTC
v.