Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

Groovy runtime err #13

Closed
hatavan83 opened this issue Dec 11, 2011 · 2 comments
Closed

Groovy runtime err #13

hatavan83 opened this issue Dec 11, 2011 · 2 comments
Assignees

Comments

@hatavan83
Copy link

There is a exception when I use this plugin:

Execution failed for task ':server:tomcatRunWar'.
Cause: org/codehaus/groovy/runtime/BytecodeInterface8

Gradle version: 1.0-milestone-5

@ghost ghost assigned bmuschko Dec 11, 2011
@bmuschko
Copy link
Owner

The latest version of the plugin has been compiled with Groovy 1.8.4 which is provided by Gradle 1.0-m6 out-of-the-box. Gradle 1.0-m5 still uses Groovy 1.7.10. Therefore, you'd see a runtime error (see release notes). You either need to upgrade your project to Gradle >= 1.0-m6 or rebuild the plugin yourself with your Gradle version.

@hatavan83
Copy link
Author

Thanks so much, we can add dependence on groovy time 1.8.4 in buildscript fix this error with gradle 1.0-milestone-5
buildscript {
repositories {
mavenCentral()
add(new org.apache.ivy.plugins.resolver.URLResolver()) {
name = 'GitHub'
addArtifactPattern 'http://cloud.github.com/downloads/[organisation]/[module]/[module]-[revision].[ext]'
}
}

dependencies {
    classpath(          
            "bmuschko:gradle-tomcat-plugin:0.8.1",
            "org.codehaus.groovy:groovy:1.8.4"
            )
}

}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants