<style>
/* Changing the layout to use less space for mobiles */
@media screen and (max-device-width: 480px), screen and (-webkit-min-device-pixel-ratio: 2) {
#email-body { min-width: 30em !important; }
#email-page { padding: 8px !important; }
#email-banner { padding: 8px 8px 0 8px !important; }
#email-avatar { margin: 1px 8px 8px 0 !important; padding: 0 !important; }
#email-fields { padding: 0 8px 8px 8px !important; }
#email-gutter { width: 0 !important; }
}
</style>
<div id="email-body">
<table id="email-wrap" align="center" border="0" cellpadding="0" cellspacing="0" style="background-color:#f0f0f0;color:#000000;width:100%;">
<tr valign="top">
<td id="email-page" style="padding:16px !important;">
<table align="center" border="0" cellpadding="0" cellspacing="0" style="background-color:#ffffff;border:1px solid #bbbbbb;color:#000000;width:100%;">
<tr valign="top">
<td bgcolor="#003366" style="background-color:#003366;color:#ffffff;font-family:Arial,FreeSans,Helvetica,sans-serif;font-size:12px;line-height:1;"><img src="http://jira.qos.ch/s/en_USzcg4h8-418945332/850/25/_/jira-logo-scaled.png" alt="" style="vertical-align:top;" /></td>
</tr><tr valign="top">
<td id="email-banner" style="padding:32px 32px 0 32px;">
<table align="left" border="0" cellpadding="0" cellspacing="0" width="100%" style="width:100%;">
<tr valign="top">
<td style="color:#505050;font-family:Arial,FreeSans,Helvetica,sans-serif;padding:0;">
<img id="email-avatar" src="http://jira.qos.ch/secure/useravatar?avatarId=10122" alt="" height="48" width="48" border="0" align="left" style="padding:0;margin: 0 16px 16px 0;" />
<div id="email-action" style="padding: 0 0 8px 0;font-size:12px;line-height:18px;">
<a class="user-hover" rel="cazacugmihai" id="email_cazacugmihai" href="http://jira.qos.ch/secure/ViewProfile.jspa?name=cazacugmihai" style="color:#326ca6;">Mihai Cazacu</a>
commented on <img src="http://jira.qos.ch/images/icons/issuetypes/bug.png" height="16" width="16" border="0" align="absmiddle" alt="Bug"> <a style='color:#326ca6;text-decoration:none;' href='http://jira.qos.ch/browse/LOGBACK-709'>LOGBACK-709</a>
</div>
<div id="email-summary" style="font-size:16px;line-height:20px;padding:2px 0 16px 0;">
<a style='color:#326ca6;text-decoration:none;' href='http://jira.qos.ch/browse/LOGBACK-709'><strong>Possible problem with Groovy detection when using Groovy configuration</strong></a>
</div>
</td>
</tr>
</table>
</td>
</tr>
<tr valign="top">
<td id="email-fields" style="padding:0 32px 32px 32px;">
<table border="0" cellpadding="0" cellspacing="0" style="padding:0;text-align:left;width:100%;" width="100%">
<tr valign="top">
<td id="email-gutter" style="width:64px;white-space:nowrap;"></td>
<td>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr valign="top">
<td colspan="2" style="color:#000000;font-family:Arial,FreeSans,Helvetica,sans-serif;font-size:12px;padding:0 0 16px 0;width:100%;">
<div class="comment-block" style="background-color:#edf5ff;border:1px solid #dddddd;color:#000000;padding:12px;">Hi, <br/>
<br/>
I also have this problem. The sample app can be found in the attachment. Just unpack "test.7z" file and run "gradlew runMod".<br/>
<br/>
Error:<br/>
<br/>
----------------------------------------------------------<br/>
[configuration ':archives', configuration ':compile', configuration ':default', configuration ':groovy', configuration ':provided', configuration ':runtime', configuration ':signatures', configuration ':testCompile',configuration ':testRuntime']<br/>
:cleanModsDir<br/>
:clean<br/>
BUILD SUCCESSFUL<br/>
<br/>
Total time: 5.028 secs<br/>
Download <a href="https://oss.sonatype.org/content/repositories/snapshots/io/vertx/vertx-core/2.0.0-SNAPSHOT/vertx-core-2.0.0-20130311.090856-218.jar">https://oss.sonatype.org/content/repositories/snapshots/io/vertx/vertx-core/2.0.0-SNAPSHOT/vertx-core-2.0.0-20130311.090856-218.jar</a><br/>
Download <a href="https://oss.sonatype.org/content/repositories/snapshots/io/vertx/vertx-platform/2.0.0-SNAPSHOT/vertx-platform-2.0.0-20130311.090922-217.jar">https://oss.sonatype.org/content/repositories/snapshots/io/vertx/vertx-platform/2.0.0-SNAPSHOT/vertx-platform-2.0.0-20130311.090922-217.jar</a><br/>
[configuration ':archives', configuration ':compile', configuration ':default', configuration ':groovy', configuration ':provided', configuration ':runtime', configuration ':signatures', configuration ':testCompile', configuration ':testRuntime']<br/>
Relying on packaging to define the extension of the main artifact has been deprecated and is scheduled to be removed in Gradle 2.0<br/>
Download <a href="https://oss.sonatype.org/content/repositories/snapshots/io/vertx/lang-groovy/1.0.0-SNAPSHOT/lang-groovy-1.0.0-SNAPSHOT.zip">https://oss.sonatype.org/content/repositories/snapshots/io/vertx/lang-groovy/1.0.0-SNAPSHOT/lang-groovy-1.0.0-SNAPSHOT.zip</a><br/>
:compileJava UP-TO-DATE<br/>
:compileGroovy<br/>
:processResources<br/>
:classes<br/>
:copyMod<br/>
:runMod<br/>
println: before test.start<br/>
SLF4J: Class path contains multiple SLF4J bindings.<br/>
SLF4J: Found binding in [jar:file:/c:/Users/mihai/Desktop/test/mods/mod-owner~mod-name~1.0.0-SNAPSHOT/lib/logback-classic-1.0.9.jar!/org/slf4j/impl/StaticLoggerBinder.class]<br/>
SLF4J: Found binding in [jar:file:/C:/Users/mihai/.gradle/wrapper/dists/gradle-1.4-bin/47n6g3pbi5plc7n8fn58nkinje/gradle1.4/lib/logback-classic-1.0.9.jar!/org/slf4j/impl/StaticLoggerBinder.class]<br/>
SLF4J: See <a href="http://www.slf4j.org/codes.html#multiple_bindings">http://www.slf4j.org/codes.html#multiple_bindings</a> for an explanation.<br/>
Failed to instantiate [ch.qos.logback.classic.LoggerContext]<br/>
Reported exception:<br/>
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:<br/>
Script1.groovy: 1: unable to resolve class ch.qos.logback.classic.Level<br/>
@ line 1, column 1.<br/>
import ch.qos.logback.classic.Level<br/>
^<br/>
Script1.groovy: 5: unable to resolve class ch.qos.logback.core.rolling.TimeBasedRollingPolicy<br/>
@ line 5, column 1.<br/>
import ch.qos.logback.core.rolling.TimeBasedRollingPolicy<br/>
^<br/>
<br/>
Script1.groovy: 4: unable to resolve class ch.qos.logback.core.rolling.RollingFileAppender<br/>
@ line 4, column 1.<br/>
import ch.qos.logback.core.rolling.RollingFileAppender<br/>
^<br/>
Script1.groovy: 3: unable to resolve class ch.qos.logback.core.ConsoleAppender<br/>
@ line 3, column 1.<br/>
import ch.qos.logback.core.ConsoleAppender<br/>
^<br/>
Script1.groovy: 6: unable to resolve class ch.qos.logback.core.status.OnConsoleStatusListener<br/>
@ line 6, column 1.<br/>
import ch.qos.logback.core.status.OnConsoleStatusListener<br/>
^<br/>
<br/>
Script1.groovy: 2: unable to resolve class ch.qos.logback.classic.encoder.PatternLayoutEncoder<br/>
@ line 2, column 1.<br/>
import ch.qos.logback.classic.encoder.PatternLayoutEncoder<br/>
^<br/>
Script1.groovy: 8: unable to resolve class ch.qos.logback.classic.Level<br/>
@ line 8, column 1.<br/>
import static ch.qos.logback.classic.Level.INFO<br/>
^<br/>
Script1.groovy: 9: unable to resolve class ch.qos.logback.classic.Level<br/>
@ line 9, column 1.<br/>
import static ch.qos.logback.classic.Level.WARN<br/>
^<br/>
8 errors<br/>
<br/>
at org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:309)<br/>
at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:927)<br/>
at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:575)<br/>
at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:524)<br/>
at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:279)<br/>
at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:258)<br/>
at groovy.lang.GroovyShell.parseClass(GroovyShell.java:613)<br/>
at groovy.lang.GroovyShell.parse(GroovyShell.java:625)<br/>
at groovy.lang.GroovyShell.parse(GroovyShell.java:652)<br/>
at groovy.lang.GroovyShell.parse(GroovyShell.java:643)<br/>
at groovy.lang.GroovyShell$parse.call(Unknown Source)<br/>
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)<br/>
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)<br/>
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)<br/>
at ch.qos.logback.classic.gaffer.GafferConfigurator.run(GafferConfigurator.groovy:48)<br/>
at ch.qos.logback.classic.gaffer.GafferConfigurator$run.callCurrent(Unknown Source)<br/>
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49)<br/>
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)<br/>
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141)<br/>
at ch.qos.logback.classic.gaffer.GafferConfigurator.run(GafferConfigurator.groovy:37)<br/>
at ch.qos.logback.classic.gaffer.GafferUtil.runGafferConfiguratorOn(GafferUtil.java:43)<br/>
at ch.qos.logback.classic.util.ContextInitializer.configureByResource(ContextInitializer.java:65)<br/>
at ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:148)<br/>
at org.slf4j.impl.StaticLoggerBinder.init(StaticLoggerBinder.java:85)<br/>
at org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:55)<br/>
at org.slf4j.LoggerFactory.bind(LoggerFactory.java:128)<br/>
at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:107)<br/>
at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:295)<br/>
at test.Test.start(Test.groovy:20)<br/>
at org.vertx.groovy.platform.Verticle.start(Verticle.groovy:35)<br/>
at org.vertx.groovy.platform.Verticle$start.call(Unknown Source)<br/>
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)<br/>
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)<br/>
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)<br/>
at org.vertx.groovy.platform.impl.GroovyVerticle.start(GroovyVerticle.groovy:59)<br/>
at org.vertx.java.platform.impl.DefaultPlatformManager$11.run(DefaultPlatformManager.java:1171)<br/>
at org.vertx.java.core.impl.Context$1.run(Context.java:127)<br/>
at org.jboss.netty.channel.socket.nio.AbstractNioSelector.processTaskQueue(AbstractNioSelector.java:366)<br/>
at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:290)<br/>
at org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:88)<br/>
at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178)<br/>
at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)<br/>
at org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)<br/>
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)<br/>
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)<br/>
at java.lang.Thread.run(Thread.java:722)<br/>
SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder]<br/>
11:27:25,808 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.groovy] at [file:/c:/Users/mihai/Desktop/test/mods/mod-owner~mod-name~1.0.0-SNAPSHOT/logback.groovy]<br/>
<br/>
println: after test.start<br/>
CTRL-C to stop server<br/>
> Building > :runMod<br/>
----------------------------------------------------------<br/>
<br/>
Thanks,<br/>
Mihai</div>
<div style="color:#505050;padding:4px 0 0 0;"> </div>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td><!-- End #email-page -->
</tr>
<tr valign="top">
<td style="color:#505050;font-family:Arial,FreeSans,Helvetica,sans-serif;font-size:10px;line-height:14px;padding: 0 16px 16px 16px;text-align:center;">
This message is automatically generated by JIRA.<br />
If you think it was sent incorrectly, please contact your JIRA administrators<br />
For more information on JIRA, see: <a style='color:#326ca6;' href='http://www.atlassian.com/software/jira'>http://www.atlassian.com/software/jira</a>
</td>
</tr>
</table><!-- End #email-wrap -->
</div><!-- End #email-body -->