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 - Cannot build REST ws from patterns
Summary: Cannot build REST ws from patterns
Status: VERIFIED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: REST (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Peter Liu
URL:
Keywords: REGRESSION, TEST
Depends on:
Blocks:
 
Reported: 2008-03-11 19:59 UTC by Lukas Jungmann
Modified: 2008-03-11 23:05 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.