PSDK Support on Java 11

We will be soon reaching an end of life state for java8 for our microservices. Our microservices integrated with platform sdk and connecting to configServer using ConfigProtocol are unable to run on java 11. Can you please suggest which psdk version for running on Java 11, and any other breaking changes.

Example of exception is below.

Caused by: java.lang.RuntimeException: Exception loading configuration schema
at com.genesyslab.platform.configuration.protocol.metadata.CfgMetadata.(CfgMetadata.java:153)
... 67 common frames omitted
Caused by: com.genesyslab.platform.commons.protocol.ProtocolException: Exception initializing JAXBContext
at com.genesyslab.platform.configuration.protocol.metadata.CfgMetadata.bindCfglibschema(CfgMetadata.java:932)
at com.genesyslab.platform.configuration.protocol.metadata.CfgMetadata.(CfgMetadata.java:147)
... 67 common frames omitted
Caused by: javax.xml.bind.JAXBException: Implementation of JAXB-API has not been found on module path or classpath.
at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:278)
at javax.xml.bind.ContextFinder.find(ContextFinder.java:391)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:721)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:662)
at com.genesyslab.platform.configuration.protocol.metadata.CfgMetadata.bindCfglibschema(CfgMetadata.java:930)
... 68 common frames omitted
Caused by: java.lang.ClassNotFoundException: com.sun.xml.internal.bind.v2.ContextFactory
at org.springframework.boot.web.embedded.tomcat.TomcatEmbeddedWebappClassLoader.loadClass(TomcatEmbeddedWebappClassLoader.java:72)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1220)
at javax.xml.bind.ServiceLoaderUtil.nullSafeLoadClass(ServiceLoaderUtil.java:122)
at javax.xml.bind.ServiceLoaderUtil.safeLoadClass(ServiceLoaderUtil.java:155)
at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:276)

We have tried adding the following dependencies to address:

[javax.xml.ws](https://javax.xml.ws/) jaxws-api 2.3.1 [com.sun.xml.ws](https://com.sun.xml.ws/) jaxws-ri 2.3.2 pom

But this is not fixing the issue.

I think you might be in the wrong place; this forum is exclusive to Genesys Cloud. The Genesys Cloud Platform Client SDK is in the namespace com.mypurecloud, not the one listed in your stack trace. You can find communities for other Genesys products here: https://community.genesys.com/communities.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.