Sorry a Pull Request to the relevant GitHub repository where the changes need to be made.
From: jersey-dev <jersey-dev-bounces@xxxxxxxxxxx>
On Behalf Of Som Lima
Sent: 30 March 2021 09:29
To: jersey developer discussions <jersey-dev@xxxxxxxxxxx>
Subject: Re: [jersey-dev] [External] : Heroku archetype web.xml still broken
Hi Som,
You could raise a PR for the changes?
Steve
*nix scripts to search and replace strings.
It will help to eliminate human errors such as the aforementioned error found in the web.xml.
If you have anymore files which need updating the namespace from javax to jakarta
grep -RiIl 'javax' | xargs sed -i 's/javax/jakarta/g'
It is a one liner which takes only a few seconds or minutes to run.
The issue with Heroku archetype NS was introduced while moving to Jakarta EE 9 NS. This NS was not properly transferred to Jakarta EE 9 NS.
This will be fixed. Same for the broken URLs in project-info pages on the web site.
Thanks for trying to fix the heroku archetype web.xml .
I really appreciate you listening but it is wrong.
I copied and pasted from jersey/examples/bookstore-webapp/src/main/webapp/WEB-INF/web.xml
I know it is wrong because if you upload the created project into eclipse it lights up in red with the message
Multiple annotations found at this line:
- There are '5' errors in 'web-app_5_0.xsd'.
- schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/javaee/
web-app_5_0.xsd', because 1) could not find the document; 2) the document could not be read;
3) the root element of the document is not <xsd:schema>.
I know it is 5 errors but lists only 3) . Could be 4. It is what it is.
_______________________________________________
jersey-dev mailing list
jersey-dev@xxxxxxxxxxx
To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/jersey-dev
_______________________________________________
jersey-dev mailing list
jersey-dev@xxxxxxxxxxx
To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/jersey-dev
|