Getting java.lang.NoClassDefFoundError by javax classes after deployment.
Issue
- The war file working in earlier JBoss EAP 7 is failing to deploy on the JBoss EAP 8.
- Getting multiple warnings after deployment.
WARN [org.jboss.modules.define] (MSC service thread 1-6) Failed to define class org.springframework.web.servlet.tags.form.PasswordInputTag in Module "sample.war" from Service Module Loader: java.lang.NoClassDefFoundError: Failed to link org/springframework/web/servlet/tags/form/PasswordInputTag (Module "sample.war" from Service Module Loader): Failed to link org/springframework/web/servlet/tags/form/InputTag (Module "sample.war" from Service Module Loader): Failed to link org/springframework/web/servlet/tags/form/AbstractHtmlInputElementTag (Module "sample.war" from Service Module Loader): Failed to link org/springframework/web/servlet/tags/form/AbstractHtmlElementTag (Module "deployment.war-test.war" from Service Module Loader): javax/servlet/...
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 8.x Beta
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.