Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,256,856
Community Members
 
Community Events
164
Community Groups

Crowd Java Client and JDK 11

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

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
Community showcase
Published in Jira

#JiraHeroes May '22 Spotlight: Daniel Cave

At Atlassian, we take great pride in the software we ship, and even greater pride in the success our customers achieve when they use our products. #JiraHeroes is our new monthly spotlight series&nbsp...

857 views 0 8
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you