In our application we have web.xml where previously java 8 and resteasy 4.7.7.Final was used
Now javax -> jakarta is being done and spring version used is 5.3.30
Intellij shows this error in web.xml org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher' is not assignable to 'javax.servlet.Servlet' but compilation and build is done but deployment in wildfly 27.0.1 and jboss 19 is causing deployment failure Caused by: java.lang.IllegalArgumentException: UT010012: Listener class class org.jboss.resteasy.plugins.spring.SpringContextLoaderListener must implement at least one listener interface
please let me know what changes can be made to bring up the deployment
suggest ways to resolve