Hi Ravi,
running Syncope 4.0 Core on Wildfly 38 is definitely supported, but requires a 
few additional steps as indicated in [1], assuming you are building your own 
Maven project following [2].

FYI, the test suite is run against Wildfly 38 as part of the GitHub Actions 
workflows of Syncope 4_0_X - check [3] for details.

Regards.

[1] https://syncope.apache.org/docs/4.0/reference-guide.html#wildfly-38
[2] https://syncope.apache.org/docs/4.0/getting-started.html#create-project
[3] 
https://github.com/apache/syncope/blob/4_0_X/.github/workflows/fit_Wildfly.yml

On 31/12/25 03:56, Ravi Singareddy wrote:
Hi all,
I am trying to deploy the Syncope WAR on WildFly 38, but the deployment fails 
with the following error.
Could someone please help me understand the cause or suggest a fix?
Any help would be greatly appreciated.
Thanks,
Ravi
I
21:50:01,314 INFO  [org.jboss.weld.Bootstrap] (Weld Thread Pool -- 6) WELD-000119: Not 
generating any bean definitions from io.swagger.v3.jaxrs2.integration.JaxrsOpenApiContext 
because of underlying class loading error: Type jakarta.ws.rs.core.Application from 
[Module "deployment.syncope.war" from Service Module Loader] not found.  If 
this is unexpected, enable DEBUG logging to see the full error.
21:50:01,330 INFO  [org.jboss.weld.Bootstrap] (Weld Thread Pool -- 9) WELD-000119: Not 
generating any bean definitions from io.swagger.v3.jaxrs2.SwaggerSerializers because of 
underlying class loading error: Type jakarta.ws.rs.ext.MessageBodyWriter from [Module 
"deployment.syncope.war" from Service Module Loader] not found.  If this is 
unexpected, enable DEBUG logging to see the full error.
21:50:01,361 INFO  [org.jboss.weld.Bootstrap] (Weld Thread Pool -- 1) WELD-000119: Not 
generating any bean definitions from 
io.swagger.v3.jaxrs2.integration.JaxrsApplicationAndAnnotationScanner because of 
underlying class loading error: Type jakarta.ws.rs.core.Application from [Module 
"deployment.syncope.war" from Service Module Loader] not found.  If this is 
unexpected, enable DEBUG logging to see the full error.
21:50:01,544 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed to start service 
jboss.deployment.unit."syncope.war".component."jakarta.servlet.http.HttpServlet$NoBodyAsyncContextListener".WeldInstantiator:
 org.jboss.msc.service.StartException in service 
jboss.deployment.unit."syncope.war".component."jakarta.servlet.http.HttpServlet$NoBodyAsyncContextListener".WeldInstantiator:
 Failed to start service
         at 
[email protected]//org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1545)
         at 
[email protected]//org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1374)
         at 
[email protected]//org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
         at 
[email protected]//org.jboss.threads.EnhancedQueueExecutor$Task.doRunWith(EnhancedQueueExecutor.java:2651)
         at 
[email protected]//org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2630)
         at 
[email protected]//org.jboss.threads.EnhancedQueueExecutor.runThreadBody(EnhancedQueueExecutor.java:1694)
         at 
[email protected]//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1589)
         at java.base/java.lang.Thread.run(Thread.java:1474)
Caused by: org.jboss.weld.resources.spi.ResourceLoadingException: Error while 
loading class jakarta.servlet.http.HttpServlet$NoBodyAsyncContextListener
         at 
[email protected]//org.jboss.weld.resources.ClassTransformer.getBackedAnnotatedType(ClassTransformer.java:193)
         at 
[email protected]//org.jboss.weld.resources.ClassTransformer.getBackedAnnotatedType(ClassTransformer.java:201)
         at 
[email protected]//org.jboss.weld.resources.ClassTransformer.getEnhancedAnnotatedType(ClassTransformer.java:239)
         at 
[email protected]//org.jboss.as.weld.injection.InjectionTargets.createInjectionTarget(InjectionTargets.java:47)
         at 
[email protected]//org.jboss.as.weld.injection.WeldComponentService.start(WeldComponentService.java:104)
         at 
[email protected]//org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1553)
         at 
[email protected]//org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1516)
         ... 7 more
Caused by: java.lang.IncompatibleClassChangeError: 
jakarta.servlet.http.HttpServlet and 
jakarta.servlet.http.HttpServlet$NoBodyAsyncContextListener disagree on 
InnerClasses attribute
         at java.base/java.lang.Class.getDeclaringClass0(Native Method)
         at java.base/java.lang.Class.getDeclaringClass(Class.java:1611)
         at 
[email protected]//org.jboss.weld.util.reflection.Reflections.checkDeclaringClassLoadable(Reflections.java:431)
         at 
[email protected]//org.jboss.weld.resources.ClassTransformer$TransformClassToBackedAnnotatedType.apply(ClassTransformer.java:83)
         at 
[email protected]//org.jboss.weld.resources.ClassTransformer$TransformClassToBackedAnnotatedType.apply(ClassTransformer.java:79)
         at 
[email protected]//org.jboss.weld.util.cache.ReentrantMapBackedComputingCache.lambda$new$0(ReentrantMapBackedComputingCache.java:57)
         at 
[email protected]//org.jboss.weld.util.WeakLazyValueHolder$1.computeValue(WeakLazyValueHolder.java:35)
         at 
[email protected]//org.jboss.weld.util.WeakLazyValueHolder.get(WeakLazyValueHolder.java:53)
         at 
[email protected]//org.jboss.weld.util.cache.ReentrantMapBackedComputingCache.getValue(ReentrantMapBackedComputingCache.java:74)
         at 
[email protected]//org.jboss.weld.util.cache.ReentrantMapBackedComputingCache.getCastValue(ReentrantMapBackedComputingCache.java:80)
         at 
[email protected]//org.jboss.weld.resources.ClassTransformer.getBackedAnnotatedType(ClassTransformer.java:184)
         ... 13 more

21:50:01,589 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 169) WFLYCTL0013: Operation 
("full-replace-deployment") failed - address: ([]) - Stage: (VERIFY) - failure description: {"WFLYCTL0080: Failed 
services" => 
{"jboss.deployment.unit.\"syncope.war\".component.\"jakarta.servlet.http.HttpServlet$NoBodyAsyncContextListener\".WeldInstantiator"
 => "Failed to start service
     Caused by: org.jboss.weld.resources.spi.ResourceLoadingException: Error 
while loading class jakarta.servlet.http.HttpServlet$NoBodyAsyncContextListener
     Caused by: java.lang.IncompatibleClassChangeError: 
jakarta.servlet.http.HttpServlet and 
jakarta.servlet.http.HttpServlet$NoBodyAsyncContextListener disagree on InnerClasses 
attribute"}}
21:50:01,622 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 169) WFLYSRV0016: Replaced 
deployment "syncope.war" with deployment "syncope.war"
21:50:01,623 INFO  [org.jboss.as.controller] (ServerService Thread Pool -- 169) 
WFLYCTL0183: Service status report
WFLYCTL0186:   Services which failed to start:      service 
jboss.deployment.unit."syncope.war".component."jakarta.servlet.http.HttpServlet$NoBodyAsyncContextListener".WeldInstantiator:
 Failed to start service

--
Francesco Chicchiriccò

Tirasa - Open Source Excellence
http://www.tirasa.net/

Member at The Apache Software Foundation
Syncope, Cocoon, Olingo, CXF, OpenJPA
https://about.me/ilgrosso

Reply via email to