question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

jenkins-rest not compilable with jcloud

See original GitHub issue

Here is the version

    <dependency>
        <groupId>com.cdancy</groupId>
        <artifactId>jenkins-rest</artifactId>
        <version>0.0.13</version>
    </dependency>

when I run with this, I got this errors, seejcloud for more info

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jenkinsService': Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.<init>(Lcom/google/gson/internal/ConstructorConstructor;Lcom/google/gson/FieldNamingStrategy;Lcom/google/gson/internal/Excluder;)V

Expected Behavior

Current Behavior

Context

Steps to Reproduce (for bugs)

Your Environment

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
likaercommented, Sep 14, 2018

Fine, I get it work now.

    <dependency>
        <groupId>com.cdancy</groupId>
        <artifactId>jenkins-rest</artifactId>
        <version>0.0.13</version>
        <classifier>all</classifier>
    </dependency>
0reactions
cdancycommented, Sep 14, 2018

@likaer awesome. Closing this issue then. Feel free to re-open should you have anymore questions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

jenkins-rest » 0.0.11 - com.cdancy - Maven Repository
Java client for working with Jenkins REST API. License, Apache 2.0. Tags, restjenkins. HomePage, https://github.com/cdancy/ ...
Read more >
Download io.github.cdancy JAR files with all dependencies
Java client for working with Jenkins REST API. ... There are maybe transitive dependencies! artifactory-rest from group io.github.cdancy (version 1.1.1).
Read more >
Solved: Connection with Jenkins REST interface could not be ...
Solved: Hi, I have a problem with the integration jenkins and dynatrace. This error : Connection to the Jenkins REST interface could not...
Read more >
Jenkins-Rest - Connect to remote jenkins client - Stack Overflow
HttpResponseException} connecting to HEAD HTTP/1.1, exceptionName=com.cdancy.jenkins.rest.shaded.org.jclouds.http.HttpResponseException}].
Read more >
Parsing a REST API bad request HTML-formatted response
I wish to handle these responses in my jenkins-rest scripted client rather than ... jclouds.headers - << Cache-Control: must-revalidate,no-cache,no-store ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found