-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
None
-
False
-
None
-
False
-
-
-
AMM Sprint 235, AMM Sprint 236, AMM Sprint 237, AMM Sprint 238, AMM Sprint 239
-
No
the EAP 7.2.0 `greeter` quickstart app contains a `web.xml` file with contents as per the attached file. EAP8 won't deploy the migrated built`.war` file because it contains element `servlet-class` with the value `javax.faces.webapp.FacesServlet` , and there are no javax dependencies in migrated eap8 apps.
This value should be changed to
jakarta.faces.webapp.FacesServlet
Also the webapp schema and namespace data need updating from
<web-app version="3.1" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd">
to
<web-app xmlns="https://jakarta.ee/xml/ns/jakartaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-app_6_0.xsd" version="6.0">
Neither issue is handled in our eap8 rules or openrewrite recipes