Session beans cannot be generated for entity classes #7066
Labels
Java EE/Jakarta EE
[ci] enable enterprise job
kind:bug
Bug report or fix
needs:triage
Requires attention from one of the committers
Apache NetBeans version
Apache NetBeans 20
What happened
Till version 18, it was straight forward with no problems of using the wizard of creating session beans for entity classes, but this version, 20, gives an error saying "Cannot be generated because EJB Lite classes are not available on project classpath".
Also the wizard of "creating entity classes from database" in version 20 does not produce validation annotation as before in version 18.
Language / Project Type / NetBeans Component
Java EE Maven Web Application
How to reproduce
What I do now is use version 18 to help me producing entities from database and their session beans (Facades) and proceed in version 20
Did this work correctly in an earlier version?
Apache NetBeans 18
Operating System
Windows 10
JDK
11, 17
Apache NetBeans packaging
Apache NetBeans provided installer
Anything else
Every time
Are you willing to submit a pull request?
No
The text was updated successfully, but these errors were encountered: