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.
-create new webapp -create new REST web service from patterns -> container item -build project => fails with: Compiling 2 source files to C:\NetBeansProjects\WebApplication6\build\web\WEB-INF\classes C:\NetBeansProjects\WebApplication6\src\java\aaa\ItemsResource.java:57: created(java.net.URI) in javax.ws.rs.core.Response cannot be applied to (java.lang.String,java.net.URI) return Response.created(content, context.getAbsolutePath()).build(); 1 error C:\NetBeansProjects\WebApplication6\nbproject\build-impl.xml:337: The following error occurred while executing this line: C:\NetBeansProjects\WebApplication6\nbproject\build-impl.xml:168: Compile failed; see the compiler error output for details. BUILD FAILED (total time: 6 seconds)
Fixed along with checking in latest jersey binaries 0.5 /cvs/websvc/rest/src/org/netbeans/modules/websvc/rest/codegen/GenericResourceGenerator.java,v <-- GenericResourceGenerator.java new revision: 1.11; previous revision: 1.10
v.