D P wrote:
Servlet.jar is in classpath.
Servlet class is extending HttpServlet.
remove server.jar from your deployment it is provided by server and as such is clashing with it.
You mean remove it from WEB-INF/lib directory or from module.xml ?
WEB-INF/lib doen't have servlet.jar file. I extracted EAR file and verified it.
Anything else should I try ?
Thanks for reply.
I did add it to the EE subsystem global modules list in standalone.xml and looks like its started taking jar files.
Now wildfly is throwing error java.lang.IllegalArgumentException: UT010009: Servlet xyz of type class xyzpkg.abcServletClass does not implement javax.servlet.Servlet.
Servlet is extending HttpServlet, I am not understanding why it's throwing this error.
Any thoughts ?