cruiztorresj opened a new issue, #5592:
URL: https://github.com/apache/netbeans/issues/5592
### Apache NetBeans version
Apache NetBeans 17
### What happened
Creating a new validation constraint (Bean Validation Section) through the
UI Wizard still generates imports related to JavaEE even when the project is
using JakartaEE 10.
```Java
import javax.validation.Constraint;
import javax.validation.Payload;
```
Instead of
```Java
import jakarta.validation.Constraint;
import jakarta.validation.Payload;
```
Now. I am not sure if this is actually a bug or even an issue, because some
folks may still be using NetBeans to develop JavaEE Applications.
### How to reproduce
**Steps to reproduce it.**
- Right click over your project.
- Select "New"
- Select "Other" from the contextual submenu.
- Select "Bean Validation" in the presented dialog box.
- Choose "Validation Constraint" in the "File Types" section located to the
right.
- Click "Next" button.
Fulfill the required information. e.g.

- Click "Finish" button.
You will see the aforementioned imports.
### Did this work correctly in an earlier version?
No / Don't know
### Operating System
Windows 11, NetBeans 17 is being run over WSL2 (Ubuntu 22.04.2 LTS)
### JDK
java version "17.0.5" 2022-10-18 LTS Java(TM) SE Runtime Environment (build
17.0.5+9-LTS-191) Java HotSpot(TM) 64-Bit Server VM (build 17.0.5+9-LTS-191,
mixed mode, sharing)
### Apache NetBeans packaging
Apache NetBeans binary zip
### Anything else
Every time.
### Are you willing to submit a pull request?
Yes
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists