AsynchronousJiraRestClient doesn't work on Java17

Maurice Karalus
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!
March 21, 2023

I have a problem with the AsynchronousJiraRestClient. The class uses the UriBuilder which is no longer supported in Java17 because it belongs to the javax package.

Dependencies:

<dependency>
<groupId>com.atlassian.jira</groupId>
<artifactId>jira-rest-java-client-core</artifactId>
<version>5.2.4</version>
</dependency>
<dependency>
<groupId>com.atlassian.jira</groupId>
<artifactId>jira-rest-java-client-api</artifactId>
<version>5.2.4</version>
</dependency>
<dependency>
<groupId>io.atlassian.fugue</groupId>
<artifactId>fugue</artifactId>
<version>4.7.2</version>
</dependency>
<dependency>
<groupId>jakarta.ws.rs</groupId>
<artifactId>jakarta.ws.rs-api</artifactId>
<version>3.1.0</version>
</dependency>

 

Is there a newer solution, wich work on Java17?

1 comment

Comment

Log in or Sign up to comment
Maurice Karalus
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!
March 21, 2023

Log:
Bildschirm­foto 2023-03-21 um 18.44.44.png

shunyu yao
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!
August 16, 2023

Hello Karalus,

 

I met the same problem as you.

Do you have any solutions now?

 

Thank you

TAGS
AUG Leaders

Atlassian Community Events