Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Session beans cannot be generated for entity classes #7066

Closed
aadiaf opened this issue Feb 13, 2024 · 1 comment · Fixed by #7080
Closed

Session beans cannot be generated for entity classes #7066

aadiaf opened this issue Feb 13, 2024 · 1 comment · Fixed by #7080
Assignees
Labels
Java EE/Jakarta EE [ci] enable enterprise job kind:bug Bug report or fix needs:triage Requires attention from one of the committers

Comments

@aadiaf
Copy link

aadiaf commented Feb 13, 2024

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

@aadiaf aadiaf added kind:bug Bug report or fix needs:triage Requires attention from one of the committers labels Feb 13, 2024
@mbien mbien added the Java EE/Jakarta EE [ci] enable enterprise job label Feb 14, 2024
@matthiasblaesing matthiasblaesing self-assigned this Feb 16, 2024
matthiasblaesing added a commit to matthiasblaesing/netbeans that referenced this issue Feb 18, 2024
@matthiasblaesing
Copy link
Contributor

There was at least one wrong change, that might have influenced this. This report is lacking a clear error report, as no steps to reproduce are given. Based on my interpretation I created #7080, which should fix this.

@aadiaf there is a nightly build available from the checks page: https://github.com/apache/netbeans/actions/runs/7963454053 or directly https://github.com/apache/netbeans/actions/runs/7963454053/artifacts/1257313039. It is available for the next 5 days. Please test it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Java EE/Jakarta EE [ci] enable enterprise job kind:bug Bug report or fix needs:triage Requires attention from one of the committers
Projects
None yet
3 participants