> Does anyone have any suggestions on how to resolve this issue?
No as the Jakarta EE deployer ensures that your application deployment (classloader) has the needed Jakarta EE Specification APIs added, which would be the jboss-servlet-api_4.0_spec-2.0.0.Final.jar included with WildFly 26. However since jboss-servlet-api_4.0_spec-2.0.0.Final.jar is binary compatible with Servlet 4.0, there is not reason that I know of to use a different Servlet jar. Unless your hitting a problem because WildFly 26 is using a fork of the Servlet 4.0 SPEC API source. If so, please let us know so we can understand why your trying to use a different Servlet SPEC API jar.
Scott