https://bugzilla.novell.com/show_bug.cgi?id=793658 https://bugzilla.novell.com/show_bug.cgi?id=793658#c0 Summary: groovysh fails with NoClassDefFoundError Classification: openSUSE Product: openSUSE Factory Version: 12.3 Milestone 0 Platform: x86-64 OS/Version: openSUSE 12.2 Status: NEW Severity: Normal Priority: P5 - None Component: Java AssignedTo: bnc-team-java@forge.provo.novell.com ReportedBy: Lennart.Borjeson@telia.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.35 Safari/537.17 I've installed groovy-1.8.4 from java:base/Factory. Compiling, running etc works OK, but groovysh fails with NoClassDefFoundError. Reproducible: Always Steps to Reproduce: 1.Install groovy-1.8.4 2.Invoke "groovysh" Actual Results: Stack trace: java.lang.NoClassDefFoundError: org.fusesource.jansi.AnsiConsole at org.codehaus.groovy.tools.shell.Main.class$(Main.groovy) at org.codehaus.groovy.tools.shell.Main.$get$$class$org$fusesource$jansi$AnsiConsole(Main.groovy) at org.codehaus.groovy.tools.shell.Main.<clinit>(Main.groovy:38) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.codehaus.groovy.tools.GroovyStarter.rootLoader(GroovyStarter.java:108) at org.codehaus.groovy.tools.GroovyStarter.main(GroovyStarter.java:130) Expected Results: Should have entered the groovysh interpreter shell. The problem is due to a missing entry in the classpath built by /usr/bin/groovysh. It should include "jansi". I've noticed this error has been logged by Redhat and a fix released by them as groovy-1.8.6. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.