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.
It is not possible to reach REST services from database created in Maven project. To reproduce: - create Maven web project (GlassFish 4, Java EE 7) - open new file wizard - choose "Web Services|RESTful Web Services from Database" and click Next - select jdbc/sample data source - add all 7 tables - click Next - provide valid package name and click Next - click Finish - run project and wait until it is deployed - right-click any of created web services and choose "Test Resource Uri" but it fails Product Version: NetBeans IDE Dev (Build web-main-javaee7-240-on-20130418) 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)
What error did you get in GlassFish log? I'm getting SEVERE: WebModule[/mavenproject4]StandardWrapper.Throwable java.lang.IllegalStateException: Error when configuring to use the EJB interceptor binding API. JAX-RS EJB integration can not be supported. and that one is caused by the fact that classes are missing - it is a different manifestation of issue 228740. Applying workaround from 228740 makes the REST from Maven works. *** This bug has been marked as a duplicate of bug 228740 ***