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 210835 - New JSF Pages from Entity Classes with Netbeans 7.1.1 and Tomcat 7
Summary: New JSF Pages from Entity Classes with Netbeans 7.1.1 and Tomcat 7
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: JSF (show other bugs)
Version: 8.0.2
Hardware: PC Windows 8 x64
: P3 normal (vote)
Assignee: Martin Fousek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-06 19:59 UTC by markainsworth
Modified: 2014-12-27 16:32 UTC (History)
0 users

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 markainsworth 2012-04-06 19:59:01 UTC
When attempting to create New JSF Pages from Entity classes when the server is Tomcat 7.0, I get the following message:  

Cannot be generated for Java EE 6 sources without server with complete Java EE 6 Web Profile support (at lesast EJB lite support)

This problem can be duplicated by running the Generating a JavaServer Faces 2.0 CRUD Application from a Database tutorial and selecting Tomcat 7.0.22.0 server instead of Glassfish.
Comment 1 Martin Fousek 2012-04-10 08:39:19 UTC
markainsworth how should it behave differently? You can't generate JSF CRUD from entity classes since Tomcat 7 doesn't support Enterprise JavaBeans at all and the application is then based on Stateless beans. So as is mentioned in the error message, you can't use that without at least EJB lite support from your server.