i want to contact an external web service with jersey in my custom jira plugin.
But jersey is not working:
<dependency>
<groupId>com.sun.jersey</groupId>
<artifactId>jersey-client</artifactId>
<version>1.8</version>
<scope>provided</scope>
</dependency>
The plugin will not start after adding this?
Any solutions?
Try this version
1.8-atlassian-11
it also wont work
i want to execute this code:
Client client =ClientBuilder.newClient();
WebTarget webTarget
= client.target("http://localhost:8079/project/webapi/myresource");
Invocation.Builder invocationBuilder
= webTarget.request();
Response response
= invocationBuilder.get();
But i cant import the packages in eclipse.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Do you use maven from atlassian sdk in eclipse?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
it worked with
1.8-atlassian-11
I've just cleanded everything and rebuild it and than it worked.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Nice to hear. Thank you for feedback.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.