Application with Spring Framework 6 does not work on JBoss EAP 7.4

Solution Verified - Updated -

Issue

  • When we update Spring Framework included in *.war from 5.x to 6.x, the following multiple WARN messages are shown while deploying and always returned 404 response. Does Spring Framework work with JBoss EAP 7.4?
14:43:35,260 WARN  [org.jboss.modules.define] (MSC service thread 1-7) Failed to define class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag in Module "deployment.spring6-echo.war" from Service Module Loader: java.lang.NoClassDefFoundError: Failed to link org/springframework/web/servlet/tags/form/AbstractHtmlElementTag (Module "deployment.spring6-echo.war" from Service Module Loader): jakarta/servlet/jsp/tagext/DynamicAttributes
  • Will EAP 7.4 support Spring Framework 6

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7.4
  • OpenJDK
    • 17
  • Spring Framework
    • 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content