-
Notifications
You must be signed in to change notification settings - Fork 874
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
A new maven web app project doesn't compile on Java 17 #6145
Comments
Hi @juneau001 , can you please release a new version of the Jakarta EE 10 archetype https://github.com/juneau001/jakartaee10-archetype? |
Hi @OndroMih I will update the archetype. Sorry for the delay. I believe someone else is working on developing a different archetype for use with Apache NetBeans as well. Thanks |
the "different archetype": #5969 |
I see this is a duplicate of #4552, so I'm closing it. |
I have released an update of the Jakarta EE 10 archetype including the enhancements from the PRs that were submitted by @OndroMih https://mvnrepository.com/artifact/io.github.juneau001/webapp-jakartaee10/1.1.0 |
Should be fixed within: #6201 |
Apache NetBeans version
Apache NetBeans 18
What happened
A new Jakarta EE Web app (WAR) Maven project doesn't compile on Java 17. Build fails with the following error:
How to reproduce
Did this work correctly in an earlier version?
No / Don't know
Operating System
Ubuntu
JDK
Zulu17.36+13-CA, OpenJDK 17.0.4
Apache NetBeans packaging
Apache NetBeans Snap Package
Anything else
This issue can be fixed by editing pom.xml file and setting the version of the WAR plugin to the latest version.
The problem is already fixed in the Maven archetype repo: juneau001/jakartaee10-archetype#2. The archetype needs to be released to Maven Central and version number updated in Netbeans.
Are you willing to submit a pull request?
Yes
The text was updated successfully, but these errors were encountered: