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.
Message Board sample fixed in bug #228684 but MessageBoardTest is still uncompilable missing com.sun.jersey.api.client.* classes. To reproduce: - register GlassFish 4 to IDE - open new project wizard - choose "Samples|Web Services|REST: Message Board" and click Next - click Next - click Finish - resolve missing JUnit - look at MessageBoardTest to see compile errors Product Version: NetBeans IDE Dev (Build web-main-javaee7-267-on-20130429) Java: 1.7.0_17; Java HotSpot(TM) 64-Bit Server VM 23.7-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_17-b02 System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
Needed to rewrite MessageBoardTest to Jersey2.0 client and add Jersey 2.0 lib to test classpath.
Fixed. Rewritten to JAX-RS 2.0 client. See: https://hg.netbeans.org/web-main/rev/3a7563bde024 https://hg.netbeans.org/web-main/rev/5c3244a6d081
Integrated into 'main-silver', will be available in build *201307222300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/3a7563bde024 User: Milan Kuchtiak <mkuchtiak@netbeans.org> Log: #229141: Make MessageBoard sample test compilable (against JAX-RS 2.0)