mahammad-fathi opened a new issue, #7994: URL: https://github.com/apache/netbeans/issues/7994
### Apache NetBeans version Apache NetBeans 23 ### What happened When a Session Bean class is generated, the code incorrectly uses javax imports instead of jakarta imports, which causes compatibility issues. This problem is particularly evident in projects using Jakarta EE dependencies. ### Language / Project Type / NetBeans Component java maven project web application ### How to reproduce The generated code incorrectly uses javax.* imports, which are not compatible with Jakarta EE projects without additional manual configuration. ### Did this work correctly in an earlier version? No / Don't know ### Operating System Linux Mint 22 Cinnamon with kernel 6.8.0-49-generic ### JDK OpenJDK Runtime Environment Zulu21.32+17-CA (build 21.0.2+13-LTS) ### Apache NetBeans packaging Apache NetBeans binary zip ### Anything else Whenever a session bean class is generated, the imported library is still of type javax. instead of being of the jakarta type ![Uploading netbeans bug1.png…]() ### 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
