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 166050 - Jersey Client API cannot be used in Netbeans modules
Summary: Jersey Client API cannot be used in Netbeans modules
Status: VERIFIED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: REST (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-26 17:06 UTC by Milan Kuchtiak
Modified: 2009-05-29 14:23 UTC (History)
5 users (show)

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 Milan Kuchtiak 2009-05-26 17:06:55 UTC
The compilation fails when Jersey com.sun.jersey.api.client.Client object is created :
======
Client client = Client.create();
======

Compilation error:
======
XXXClass.java:nn: cannot access com.sun.jersey.api.client.filter.Filterable

class file for com.sun.jersey.api.client.filter.Filterable not found
        Client client = Client.create();
1 error
======

The fix is easy - just adding "com.sun.jersey.api.client.filter" package to public-packages in websvc.restlib module.
Comment 1 Milan Kuchtiak 2009-05-27 08:58:40 UTC
Fixed in trunk:
http://hg.netbeans.org/main/rev/a9d9aebc2c76
Comment 2 Michal Mocnak 2009-05-27 16:07:26 UTC
Verified in trunk
Comment 3 Marian Mirilovic 2009-05-27 16:08:39 UTC
keep it opened until fixed in NB 6.7 
Comment 4 Milan Kuchtiak 2009-05-27 16:53:57 UTC
Fixed in release67 :
http://hg.netbeans.org/release67/rev/2f35e2513fc3
Comment 5 Michal Mocnak 2009-05-29 14:23:08 UTC
Verified in nb67rc1 build #200905282243