Jenkins java.lang.NoClassDefFoundError: com/trilead/ssh2/crypto/Base64












4














Today I update my Jenkins version from 2.151 to 2.152 (in my ec2 instance) and the first error I get is java.lang.NoClassDefFoundError: com/trilead/ssh2/crypto/Base64



I get this error:



Screenshot
enter image description hereThis is the log:




org.apache.commons.jelly.JellyTagException: jar:file:/var/cache/jenkins/war/WEB-INF/lib/jenkins-core-2.152.jar!/lib/layout/hasPermission.jelly:35:20: <d:invokeBody> com/trilead/ssh2/crypto/Base64
at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:745)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:289)
at org.apache.commons.jelly.tags.core.CoreTagLibrary$1.run(CoreTagLibrary.java:98)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:120)
at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:95)
at org.kohsuke.stapler.jelly.IncludeTag.doTag(IncludeTag.java:147)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161)
at org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:150)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
at org.apache.commons.jelly.tags.core.CoreTagLibrary$1.run(CoreTagLibrary.java:98)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
at org.apache.commons.jelly.tags.core.CoreTagLibrary$1.run(CoreTagLibrary.java:98)
...
org.apache.commons.jexl.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:258)
at org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:83)
at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:57)
... 108 more



Anyone have any idea to solve this issue?










share|improve this question



























    4














    Today I update my Jenkins version from 2.151 to 2.152 (in my ec2 instance) and the first error I get is java.lang.NoClassDefFoundError: com/trilead/ssh2/crypto/Base64



    I get this error:



    Screenshot
    enter image description hereThis is the log:




    org.apache.commons.jelly.JellyTagException: jar:file:/var/cache/jenkins/war/WEB-INF/lib/jenkins-core-2.152.jar!/lib/layout/hasPermission.jelly:35:20: <d:invokeBody> com/trilead/ssh2/crypto/Base64
    at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:745)
    at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:289)
    at org.apache.commons.jelly.tags.core.CoreTagLibrary$1.run(CoreTagLibrary.java:98)
    at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
    at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
    at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:120)
    at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
    at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:95)
    at org.kohsuke.stapler.jelly.IncludeTag.doTag(IncludeTag.java:147)
    at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
    at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161)
    at org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:150)
    at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
    at org.apache.commons.jelly.tags.core.CoreTagLibrary$1.run(CoreTagLibrary.java:98)
    at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
    at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
    at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
    at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
    at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
    at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
    at org.apache.commons.jelly.tags.core.CoreTagLibrary$1.run(CoreTagLibrary.java:98)
    ...
    org.apache.commons.jexl.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:258)
    at org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
    at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:83)
    at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:57)
    ... 108 more



    Anyone have any idea to solve this issue?










    share|improve this question

























      4












      4








      4







      Today I update my Jenkins version from 2.151 to 2.152 (in my ec2 instance) and the first error I get is java.lang.NoClassDefFoundError: com/trilead/ssh2/crypto/Base64



      I get this error:



      Screenshot
      enter image description hereThis is the log:




      org.apache.commons.jelly.JellyTagException: jar:file:/var/cache/jenkins/war/WEB-INF/lib/jenkins-core-2.152.jar!/lib/layout/hasPermission.jelly:35:20: <d:invokeBody> com/trilead/ssh2/crypto/Base64
      at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:745)
      at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:289)
      at org.apache.commons.jelly.tags.core.CoreTagLibrary$1.run(CoreTagLibrary.java:98)
      at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
      at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:120)
      at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
      at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:95)
      at org.kohsuke.stapler.jelly.IncludeTag.doTag(IncludeTag.java:147)
      at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
      at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161)
      at org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:150)
      at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
      at org.apache.commons.jelly.tags.core.CoreTagLibrary$1.run(CoreTagLibrary.java:98)
      at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
      at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
      at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
      at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
      at org.apache.commons.jelly.tags.core.CoreTagLibrary$1.run(CoreTagLibrary.java:98)
      ...
      org.apache.commons.jexl.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:258)
      at org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
      at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:83)
      at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:57)
      ... 108 more



      Anyone have any idea to solve this issue?










      share|improve this question













      Today I update my Jenkins version from 2.151 to 2.152 (in my ec2 instance) and the first error I get is java.lang.NoClassDefFoundError: com/trilead/ssh2/crypto/Base64



      I get this error:



      Screenshot
      enter image description hereThis is the log:




      org.apache.commons.jelly.JellyTagException: jar:file:/var/cache/jenkins/war/WEB-INF/lib/jenkins-core-2.152.jar!/lib/layout/hasPermission.jelly:35:20: <d:invokeBody> com/trilead/ssh2/crypto/Base64
      at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:745)
      at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:289)
      at org.apache.commons.jelly.tags.core.CoreTagLibrary$1.run(CoreTagLibrary.java:98)
      at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
      at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:120)
      at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
      at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:95)
      at org.kohsuke.stapler.jelly.IncludeTag.doTag(IncludeTag.java:147)
      at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
      at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161)
      at org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:150)
      at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
      at org.apache.commons.jelly.tags.core.CoreTagLibrary$1.run(CoreTagLibrary.java:98)
      at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
      at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
      at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
      at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
      at org.apache.commons.jelly.tags.core.CoreTagLibrary$1.run(CoreTagLibrary.java:98)
      ...
      org.apache.commons.jexl.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:258)
      at org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
      at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:83)
      at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:57)
      ... 108 more



      Anyone have any idea to solve this issue?







      jenkins






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 21 '18 at 16:48









      capo11

      14913




      14913
























          2 Answers
          2






          active

          oldest

          votes


















          0














          As Eric Y. Theriault has pointed out, the issue is with the old SSH Slaves plugin.



          In <jenkinsHome>/plugins folder:




          • Delete ssh-slaves folder

          • Delete files starting with ssh-slaves

          • Restart Jenkins

          • Install latest SSH Slaves plugin (if needed).






          share|improve this answer





























            2














            I encountered a similar issue -- it appeared to go away (at least so far) after upgrading to the latest Jenkins SSH Slaves plugin from 1.29 to 1.29.1.






            share|improve this answer





















            • How Can I do this?
              – capo11
              Nov 23 '18 at 14:15










            • Go to Manage Jenkins and then select Manage Plugins. Then click Check Updates and if there is one, you'll see it, need to install, and restart Jenkins. You can also see what is installed on the Installed tab. Hope that helps.
              – Eric Y. Theriault
              Nov 24 '18 at 18:53






            • 1




              I can't do this beacuse the UI is blocked (as you can see from screenshot).
              – capo11
              Nov 26 '18 at 7:34











            Your Answer






            StackExchange.ifUsing("editor", function () {
            StackExchange.using("externalEditor", function () {
            StackExchange.using("snippets", function () {
            StackExchange.snippets.init();
            });
            });
            }, "code-snippets");

            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "1"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53416893%2fjenkins-java-lang-noclassdeffounderror-com-trilead-ssh2-crypto-base64%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            As Eric Y. Theriault has pointed out, the issue is with the old SSH Slaves plugin.



            In <jenkinsHome>/plugins folder:




            • Delete ssh-slaves folder

            • Delete files starting with ssh-slaves

            • Restart Jenkins

            • Install latest SSH Slaves plugin (if needed).






            share|improve this answer


























              0














              As Eric Y. Theriault has pointed out, the issue is with the old SSH Slaves plugin.



              In <jenkinsHome>/plugins folder:




              • Delete ssh-slaves folder

              • Delete files starting with ssh-slaves

              • Restart Jenkins

              • Install latest SSH Slaves plugin (if needed).






              share|improve this answer
























                0












                0








                0






                As Eric Y. Theriault has pointed out, the issue is with the old SSH Slaves plugin.



                In <jenkinsHome>/plugins folder:




                • Delete ssh-slaves folder

                • Delete files starting with ssh-slaves

                • Restart Jenkins

                • Install latest SSH Slaves plugin (if needed).






                share|improve this answer












                As Eric Y. Theriault has pointed out, the issue is with the old SSH Slaves plugin.



                In <jenkinsHome>/plugins folder:




                • Delete ssh-slaves folder

                • Delete files starting with ssh-slaves

                • Restart Jenkins

                • Install latest SSH Slaves plugin (if needed).







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 26 '18 at 11:05









                Ahmed Ashour

                3,530102442




                3,530102442

























                    2














                    I encountered a similar issue -- it appeared to go away (at least so far) after upgrading to the latest Jenkins SSH Slaves plugin from 1.29 to 1.29.1.






                    share|improve this answer





















                    • How Can I do this?
                      – capo11
                      Nov 23 '18 at 14:15










                    • Go to Manage Jenkins and then select Manage Plugins. Then click Check Updates and if there is one, you'll see it, need to install, and restart Jenkins. You can also see what is installed on the Installed tab. Hope that helps.
                      – Eric Y. Theriault
                      Nov 24 '18 at 18:53






                    • 1




                      I can't do this beacuse the UI is blocked (as you can see from screenshot).
                      – capo11
                      Nov 26 '18 at 7:34
















                    2














                    I encountered a similar issue -- it appeared to go away (at least so far) after upgrading to the latest Jenkins SSH Slaves plugin from 1.29 to 1.29.1.






                    share|improve this answer





















                    • How Can I do this?
                      – capo11
                      Nov 23 '18 at 14:15










                    • Go to Manage Jenkins and then select Manage Plugins. Then click Check Updates and if there is one, you'll see it, need to install, and restart Jenkins. You can also see what is installed on the Installed tab. Hope that helps.
                      – Eric Y. Theriault
                      Nov 24 '18 at 18:53






                    • 1




                      I can't do this beacuse the UI is blocked (as you can see from screenshot).
                      – capo11
                      Nov 26 '18 at 7:34














                    2












                    2








                    2






                    I encountered a similar issue -- it appeared to go away (at least so far) after upgrading to the latest Jenkins SSH Slaves plugin from 1.29 to 1.29.1.






                    share|improve this answer












                    I encountered a similar issue -- it appeared to go away (at least so far) after upgrading to the latest Jenkins SSH Slaves plugin from 1.29 to 1.29.1.







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Nov 22 '18 at 19:18









                    Eric Y. Theriault

                    415




                    415












                    • How Can I do this?
                      – capo11
                      Nov 23 '18 at 14:15










                    • Go to Manage Jenkins and then select Manage Plugins. Then click Check Updates and if there is one, you'll see it, need to install, and restart Jenkins. You can also see what is installed on the Installed tab. Hope that helps.
                      – Eric Y. Theriault
                      Nov 24 '18 at 18:53






                    • 1




                      I can't do this beacuse the UI is blocked (as you can see from screenshot).
                      – capo11
                      Nov 26 '18 at 7:34


















                    • How Can I do this?
                      – capo11
                      Nov 23 '18 at 14:15










                    • Go to Manage Jenkins and then select Manage Plugins. Then click Check Updates and if there is one, you'll see it, need to install, and restart Jenkins. You can also see what is installed on the Installed tab. Hope that helps.
                      – Eric Y. Theriault
                      Nov 24 '18 at 18:53






                    • 1




                      I can't do this beacuse the UI is blocked (as you can see from screenshot).
                      – capo11
                      Nov 26 '18 at 7:34
















                    How Can I do this?
                    – capo11
                    Nov 23 '18 at 14:15




                    How Can I do this?
                    – capo11
                    Nov 23 '18 at 14:15












                    Go to Manage Jenkins and then select Manage Plugins. Then click Check Updates and if there is one, you'll see it, need to install, and restart Jenkins. You can also see what is installed on the Installed tab. Hope that helps.
                    – Eric Y. Theriault
                    Nov 24 '18 at 18:53




                    Go to Manage Jenkins and then select Manage Plugins. Then click Check Updates and if there is one, you'll see it, need to install, and restart Jenkins. You can also see what is installed on the Installed tab. Hope that helps.
                    – Eric Y. Theriault
                    Nov 24 '18 at 18:53




                    1




                    1




                    I can't do this beacuse the UI is blocked (as you can see from screenshot).
                    – capo11
                    Nov 26 '18 at 7:34




                    I can't do this beacuse the UI is blocked (as you can see from screenshot).
                    – capo11
                    Nov 26 '18 at 7:34


















                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.





                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                    Please pay close attention to the following guidance:


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53416893%2fjenkins-java-lang-noclassdeffounderror-com-trilead-ssh2-crypto-base64%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    404 Error Contact Form 7 ajax form submitting

                    How to know if a Active Directory user can login interactively

                    TypeError: fit_transform() missing 1 required positional argument: 'X'