java.lang.NoClassDefFoundError after updating to JWS 6 Tomcat
Issue
After migrating from open source tomcat to JWS 6.0, the applications are not comming up post migration with following java.lang.NoClassDefFoundError:
FINE [main] org.apache.catalina.util.Introspection.loadClass Failed to load class [com.example.filter.ExampleFilter]
java.lang.NoClassDefFoundError: javax/servlet/Filter
[main] org.apache.catalina.util.Introspection.loadClass Failed to load class [org.springframework.web.servlet.DispatcherServlet]
java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet
Environment
- Red Hat JBoss Web Server (JWS) 6.x
- Tomcat 10.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.