Yammer-API Stapler 异常的 Hudson 插件?
我正在使用 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我会尝试版本 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)