Forbidden error from war file deployed to jboss eap

When I go to the deployed end point all I get is “Forbidden” I don’t see an error code in the response even.

Maven 4.0.0
Spring boot 3.4.4.
Vaadin 24.7.1
Java 21

I was able to see files in resources/static but that is all

Any ideas please?

First thing that comes in mind is that the Spring Boot application is not configured correctly to produce a deployable WAR (Traditional Deployment :: Spring Boot)

Can you see Vaadin related messages in the server logs when the application starts?

Here is the error i see in the jboss eap log

2025-04-15 12:59:49,735 WARN [org.jboss.modules.define] (MSC service thread 1-2) Failed to define class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag in Module “deployment.vaadinwardeploy-1.0.war” from Service Module Loader: java.lang.NoClassDefFoundError: Failed to link org/springframework/web/servlet/tags/form/AbstractHtmlElementTag (Module “deployment.vaadinwardeploy-1.0.war” from Service Module Loader): jakarta/servlet/jsp/tagext/DynamicAttributes

Which JBoss version are you using?

Spring Boot 3.4 requires Jakarta Servlet 6, so according to this article, you should have JBoss EAP 8

1 Like