我正在使用Hudson-yammer插件在yammer&上发送通知使用以下jar
Hudson jar = hudson-core-1.384.jar
Stapler jar = stapler1.87 Jar
Hudson-yammer插件= 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/
代码有什么问题? 需要哪个罐子?
请做必要!!
答案 0 :(得分:0)
我会尝试1.96版本的JAR文件,SVN源代码树表明该版本的类文件存在(java.net目前非常慢,所以我无法检查1.87)