Skip to content

Run as Groovy Script stopped working after installing newest snapshot plugin  #255

@kovax

Description

@kovax

After I have updated to the new snapshot release I get the exception bellow whenever I try to run a groovy script:
Caught: java.lang.ExceptionInInitializerError
java.lang.ExceptionInInitializerError
Caused by: groovy.lang.GroovyRuntimeException: Conflicting module versions. Module [groovy-all is loaded in version 2.4.7 and you are trying to load version 2.4.8

I do not have any dependencies which use groovy 2.4.7, so do not understand why I get this error. So I have checked the generated launch configuration and it contains these lines which I believe wrong:

<listEntry value="/home/dev/.m2/repository/org/spockframework/spock-core/1.0-groovy-2.4/spock-core-1.0-groovy-2.4.jar"/>
<listEntry value="/home/dev/.m2/repository/org/codehaus/groovy/groovy-all/2.4.7/groovy-all-2.4.7.jar"/>

Unfortunately even if I remove those lines I get the same error.

My environment:
Eclipse Version: Neon.2 Release (4.6.2)
Build id: 20161208-0600
Groovy Eclipse Plugin: 2.9.2.xx-201701160312-e46

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions