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.
Build: NetBeans IDE 7.0 (Build 201104080000) VM: Java HotSpot(TM) 64-Bit Server VM, 16.2-b04, Java(TM) SE Runtime Environment, 1.6.0_19-b04 OS: Windows XP User Comments: csaffi: I was creating a Restful from database GUEST: Trying to generate Restful Webservice from Database using sample DB GUEST: Creating a new RESTful web service from a database following a tutorial found here: netbeans.dzone.com/extjs-rest-netbeans Stacktrace: java.lang.IllegalArgumentException: Cannot create a QualIdent for javax.ejb.Stateless at org.netbeans.modules.j2ee.core.api.support.java.GenerationUtils.createQualIdent(GenerationUtils.java:737) at org.netbeans.modules.j2ee.core.api.support.java.GenerationUtils.createAnnotation(GenerationUtils.java:273) at org.netbeans.modules.j2ee.core.api.support.java.GenerationUtils.createAnnotation(GenerationUtils.java:257) at org.netbeans.modules.websvc.rest.wizard.fromdb.EjbFacadeGenerator$3.run(EjbFacadeGenerator.java:380) at org.netbeans.modules.websvc.rest.wizard.fromdb.EjbFacadeGenerator$3.run(EjbFacadeGenerator.java:255) at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:666)
Created attachment 109528 [details] stacktrace
Please provide details on the issue. What project type do you use ? What J2EE target server do you use ? The exception means that there is no javax.ejb.Stateless in project's classpath. But project is created with Java EE 6 profile on the other hand. It means it should contain mentioned class in its classpath. Please check the presence/absence of the javax.ejb.Stateless in your classpath. Please check what Java EE profile do you use . Please attach the project.
*** This bug has been marked as a duplicate of bug 213695 ***