Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Crowd Java Client and JDK 11

rivulus
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 8, 2020

What is the current state of support here? I've got a little sample app that can connected to my employer's crowd server but I can only run the app on OpenJDK 8. With 11, I get an error when attempting to authenticate:

"Cannot instantiate JAXBContext for class class com.atlassian.crowd.integration.rest.entity.AuthenticationContextEntity"

This is after including jakarta.xml.bind-api in my pom.xml to provide JAXBContext.

I can find very little evidence online that other people are using this client lib with JDK 11 except for a few related issues people are having with Crowd Jenkins plugins..

Thanks!

-Philip

1 answer

0 votes
Florian Dreier
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 21, 2021

You need to supply 

com.sun.xml.bind:jaxb-impl

as a runtime dependency in version 2.3.x to get this working on Java 11.

However this does no longer work when switching to 3.x which now uses the jakarta namespace. Is there any plan to update to 3.x for the Crowd REST client?

This is currently the only dependency that is blocking us to update. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events