[
https://issues.apache.org/jira/browse/GROOVY-8631?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Paul King closed GROOVY-8631.
-----------------------------
> Groovy 2.5.0 broken with Java 10.0.1 on MacOS
> ---------------------------------------------
>
> Key: GROOVY-8631
> URL: https://issues.apache.org/jira/browse/GROOVY-8631
> Project: Groovy
> Issue Type: Bug
> Components: groovy-runtime, Groovysh
> Affects Versions: 2.5.0
> Environment: Groovy Version: 2.5.0 JVM: 10.0.1 Vendor: "Oracle
> Corporation" OS: Mac OS X
> Reporter: Phil Mitchell
> Assignee: Paul King
> Priority: Major
> Fix For: 2.5.2
>
> Attachments: groovysh_stacktrace.txt, hello.groovy,
> hello_stacktrace.txt
>
>
> Running groovy 2.5.0 on Java 10.0.1 appears broken due to module
> dependencies. Groovy 2.4.15 runs fine with the same Java version on the same
> machine, and moving back to 2.4.15 fixes the issue.
> The issue is seen running groovy, groovyc or groovysh, which result in the
> attached stack traces.
> The missing dependency is on JAXB. The specific class not found depends on
> what I'm running.
> For groovysh this results in java.lang.NoClassDefFoundError: Unable to load
> class groovy.xml.jaxb.JaxbGroovyMethods due to missing dependency
> javax/xml/bind/JAXBContext
> For groovy (running the very trivial script attached) this results in
> java.lang.NoClassDefFoundError: Unable to load class
> groovy.xml.jaxb.JaxbGroovyMethods due to missing dependency
> javax/xml/bind/Unmarshaller
>
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)