Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-66837

java.lang.LinkageError due to the use of different version of the same library

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • None
    • official docker image Jenkins 2.314
      jira-plugin 3.6
      gitlab-plugin 1.5.20

    Description

      I'm using the Jira plugin with the Gitlab plugin and I got the following error

      Looks similar to JENKINS-60402 

      How can those plugin can manage to have the same version of librairies ?

      java.lang.LinkageError: ClassCastException: attempting to castjar:file:/var/jenkins_home/plugins/gitlab-plugin/WEB-INF/lib/jboss-jaxrs-api_2.0_spec-1.0.0.Final.jar!/javax/ws/rs/ext/RuntimeDelegate.classtojar:file:/var/jenkins_home/plugins/jira/WEB-INF/lib/jsr311-api-1.1.1.jar!/javax/ws/rs/ext/RuntimeDelegate.class

      Attachments

        Issue Links

          Activity

            florian_castagno Florian CASTAGNO created issue -
            florian_castagno Florian CASTAGNO made changes -
            Field Original Value New Value
            Summary java.lang.LinkageError dur to the use of différent version of the same library java.lang.LinkageError dur to the use of different version of the same library
            florian_castagno Florian CASTAGNO made changes -
            Environment official docker image Jenkins 2.314
            jira-plugin 3.6
            gitlab-plugin 1.5.20
            florian_castagno Florian CASTAGNO made changes -
            Summary java.lang.LinkageError dur to the use of different version of the same library java.lang.LinkageError due to the use of different version of the same library
            kon Kalle Niemitalo made changes -
            Link This issue duplicates JENKINS-52171 [ JENKINS-52171 ]
            kon Kalle Niemitalo made changes -
            Link This issue relates to JENKINS-60402 [ JENKINS-60402 ]

            People

              baymac Parichay Barpanda
              florian_castagno Florian CASTAGNO
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: