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.
1. Register JBoss 6 Milestone 5 2. Create a new Entity class (in the wizard, provide the package name and accept all the other defaults). => Usages of JPA classes in the generated code will be underlined, as the JPA API is not on the classpath. Sounds like <jboss_inst>/common/lib/hibernate-jpa-2.0-api.jar should be on the classpath.
Sorry, one step is missing: 1A. Create a new Java EE 6 Web project with JBoss target.
Fixed in web-main 2028282ec7cb.