Yammer-API Stapler 异常的 Hudson 插件?

发布于 2024-10-02 02:43:02 字数 2032 浏览 1 评论 0原文

我正在使用 Hudson-yammer 插件在 yammer 上发送通知使用以下 jar

Hudson jar = hudson-core-1.384.jar

Stapler jar = stapler1.87 Jar

Hudson-yammer plugin = http://code.google.com/p/hudson-yammer/

Exception in thread "main" java.lang.NoClassDefFoundError: org/kohsuke/stapler/StaplerFallback
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
    at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
    at hudson.tasks.Publisher.getDescriptor(Publisher.java:123)
    at hudson.plugins.yammer.YammerPublisher.<init>(YammerPublisher.java:66)
    at hudson.plugins.yammer.NotifyToYammer.main(NotifyToYammer.java:22)
Caused by: java.lang.ClassNotFoundException: org.kohsuke.stapler.StaplerFallback
    at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
    ... 14 more

Hudson-yammer 插件 = http://code.google.com/p/hudson-yammer/

代码有什么问题? 需要哪个罐子?

请做需要的事情!

I am using Hudson-yammer plugin for sending notification on yammer & Uses following jar

Hudson jar = hudson-core-1.384.jar

Stapler jar = stapler1.87 Jar

Hudson-yammer plugin = http://code.google.com/p/hudson-yammer/

Exception in thread "main" java.lang.NoClassDefFoundError: org/kohsuke/stapler/StaplerFallback
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
    at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
    at hudson.tasks.Publisher.getDescriptor(Publisher.java:123)
    at hudson.plugins.yammer.YammerPublisher.<init>(YammerPublisher.java:66)
    at hudson.plugins.yammer.NotifyToYammer.main(NotifyToYammer.java:22)
Caused by: java.lang.ClassNotFoundException: org.kohsuke.stapler.StaplerFallback
    at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
    ... 14 more

Hudson-yammer plugin = http://code.google.com/p/hudson-yammer/

What's wrong with the code ?
Which jar is required ?

please do the needful !!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

浅忆流年 2024-10-09 02:43:02

我会尝试版本 1.96 的 JAR 文件,SVN 源代码树表明该版本存在类文件(java.net 目前非常慢,所以我无法检查 1.87)

I would try the JAR file at version 1.96, the SVN source tree indicates that the class file is there at that version (java.net is horribly slow at the moment, so I wasn't able to check 1.87)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文