Hey, I need some help, I was running a Spring Boot 2 application on Payara 5.194, but the server was upgraded to Payara 6, the latest version available at the time of writing this, and well, I moved to Spring Boot 3 to get rid of certain issues, but now I have several errors when deploying, like the following:
-
Class [ com/unboundid/ldap/listener/InMemoryDirectoryServer ] not found. Error while loading [ class org.springframework.boot.autoconfigure.ldap.embedded.EmbeddedLdapAutoConfiguration ]
-
[2024-11-11T12:06:12.194-0400] [Payara 6.2024.10] [WARNING] [org.glassfish.weld.BeanDeploymentArchiveImpl] [tid: _ThreadID=221 _ThreadName=admin-thread-pool::admin-listener(11)] [timeMillis: 1731341172194] [levelValue: 900] [[AS-CDI-00005]]
-
[2024-11-11T12:06:16.784-0400] [Payara 6.2024.10] [INFO] [org.jboss.weld.Bootstrap] [tid: _ThreadID=221 _ThreadName=admin-thread-pool::admin-listener(11)] [timeMillis: 1731341176784] [levelValue: 800] [[WELD-000119: Not generating any bean definitions from org.springframework.boot.loader.zip.DataBlockInputStream because of underlying class loading error: Type org.springframework.boot.loader.zip.DataBlockInputStream not found. If this is unexpected, enable DEBUG logging to see the full error.]]
-
[2024-11-11T12:06:18.026-0400] [Payara 6.2024.10] [SEVERE] [NCLS-CORE-00026] [javax.enterprise.system.core] [tid: _ThreadID=221 _ThreadName=admin-thread-pool::admin-listener(11)] [timeMillis: 1731341178026] [levelValue: 1000] [[Exception during lifecycle processing org.glassfish.deployment.common.DeploymentException: CDI definition failure:Exception List with 1 exceptions: Exception 0: jakarta.enterprise.inject.UnsatisfiedResolutionException: Unable to resolve a bean for ‘jakarta.persistence.EntityManager’ with qualifiers [@jakarta.enterprise.inject.Default(), @jakarta.enterprise.inject.Any()]
Could you help me or give me a guide on how to solve this?