Not able to deploy Jenkins on WildFly 27 Final with JDK 17 and Macen 3.8.6

Hey guys, I’ve been trying to deploy Jenkins on WildFly 27 ever since it was in Alpha, the Final version just came out and I still cannot deploy it, this is what I’m getting:

Dispatcher error: {“WFLYCTL0080: Failed services” => {“jboss.deployment.unit."jenkins.war".undertow-deployment.UndertowDeploymentInfoService” => “Failed to start service Caused by: java.lang.NoClassDefFoundError: Failed to link org/kohsuke/stapler/Stapler (Module "deployment.jenkins.war" from Service Module Loader): javax/servlet/http/HttpServlet”}}

I’m using the latest .war file from your website, any ideas what can be happening here?


The currently recommended way of running Jenkins is by running the war file directly. There is no testing done with any servlet container, so you are probably on your own for debugging this issue.