
Have you tried placing logback-core.jar and logback-classic.jar on your class path in the same way that slf4j-api.jar is. On 09.11.2011 19:42, Tompi Mat wrote:
After removing the @Grabs:
$ groovy HelloWorld.groovy Failed to instantiate [ch.qos.logback.classic.LoggerContext] Reported exception: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: Script1.groovy: 1: unable to resolve class ch.qos.logback.classic.encoder.PatternLayoutEncoder @ line 1, column 1. import ch.qos.logback.classic.encoder.PatternLayoutEncoder ^
Script1.groovy: 2: unable to resolve class ch.qos.logback.core.ConsoleAppender @ line 2, column 1. import ch.qos.logback.core.ConsoleAppender ^
Script1.groovy: 4: unable to resolve class ch.qos.logback.classic.Level @ line 4, column 1. import static ch.qos.logback.classic.Level.DEBUG ^
-- Ceki http://twitter.com/#!/ceki