Could this be the cause of your issue:
https://stackoverflow.com/questions/44088493/jersey-stopped-working-with-injectionmanagerfactory-not-found ?
Regards
Emmanuel
Le 17/05/2023 à 12:04, Thierry Mouamadje (TchadMusic) a écrit :
> Hi,i need your help guys.i am currently migrating a project from spring 3.2.2 with java 7 to spring 6.0.8:when i start the application on
> wildfly 28 server i get the following error and difficult to solve.
>
> 11:46:36,546 WARN [org.jboss.as.server.deployment] (MSC service thread 1-7) WFLYSRV0274: Excluded dependency
> org.jboss.resteasy.async-http-servlet-3.0 via jboss-deployment-structure.xml does not exist.
>
> 11:46:36,546 WARN [org.jboss.as.server.deployment] (MSC service thread 1-7) WFLYSRV0274: Excluded dependency jakarta.servlet.jstl via
> jboss-deployment-structure.xml does not exist.
>
> 11:46:36,546 WARN [org.jboss.as.server.deployment] (MSC service thread 1-7) WFLYSRV0274: Excluded dependency org.hibernate via
> jboss-deployment-structure.xml does not exist.
>
> 11:46:36,546 WARN [org.jboss.as.server.deployment] (MSC service thread 1-7) WFLYSRV0274: Excluded dependency
> org.jboss.resteasy.resteasy-jaxrs via jboss-deployment-structure.xml does not exist.
>
> 11:46:36,546 WARN [org.jboss.as.server.deployment] (MSC service thread 1-7) WFLYSRV0274: Excluded dependency org.apache.log4j via
> jboss-deployment-structure.xml does not exist.
>
> 11:46:36,746 INFO [io.undertow.servlet] (ServerService Thread Pool -- 86) No Spring WebApplicationInitializer types detected on classpath
>
> 11:46:36,755 INFO [jakarta.enterprise.resource.webcontainer.faces.config] (ServerService Thread Pool -- 86) Initialisation de Mojarra
> 4.0.0.SP01 pour le contexte «/pcs»
>
> 11:46:37,021 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 86) MSC000001: Failed to start service
> jboss.deployment.unit."pcs.war".undertow-deployment: org.jboss.msc.service.StartException in service
> jboss.deployment.unit."pcs.war".undertow-deployment: java.lang.IllegalStateException: InjectionManagerFactory not found.
>
> at
> org.wildfly.ext...@28.0.0.Final//org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:90)
>
> at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
>
> at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
>
> at org.jbos...@2.4.0.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
>
> at org.jbos...@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990)
>
> at org.jbos...@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
>
> at org.jbos...@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
>
> at java.base/java.lang.Thread.run(Thread.java:833)
>
> at org.jbos...@2.4.0.Final//org.jboss.threads.JBossThread.run(JBossThread.java:513)
>
> Caused by: java.lang.IllegalStateException: InjectionManagerFactory not found.
>
> at deployment.pcs.war//org.glassfish.jersey.internal.inject.Injections.lambda$lookupInjectionManagerFactory$0(Injections.java:74)
>
> at java.base/java.util.Optional.orElseThrow(Optional.java:403)
>
> at deployment.pcs.war//org.glassfish.jersey.internal.inject.Injections.lookupInjectionManagerFactory(Injections.java:74)
>
> at deployment.pcs.war//org.glassfish.jersey.internal.inject.Injections.createInjectionManager(Injections.java:69)
>
> at deployment.pcs.war//org.glassfish.jersey.server.ApplicationHandler.<init>(ApplicationHandler.java:261)
>
> at deployment.pcs.war//org.glassfish.jersey.servlet.WebComponent.<init>(WebComponent.java:311)
>
> --
> You received this message because you are subscribed to the Google Groups "WildFly" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
wildfly+u...@googlegroups.com.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/wildfly/15f44c72-02b0-4aec-ae63-2f05d87f7f62n%40googlegroups.com
> <
https://groups.google.com/d/msgid/wildfly/15f44c72-02b0-4aec-ae63-2f05d87f7f62n%40googlegroups.com?utm_medium=email&utm_source=footer>.