[jira] [Created] (GROOVY-9305) Unable to load class JaxbExtensions

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[jira] [Created] (GROOVY-9305) Unable to load class JaxbExtensions

Daniel Sun (Jira)
Rod Hamann created GROOVY-9305:

             Summary: Unable to load class JaxbExtensions
                 Key: GROOVY-9305
                 URL: https://issues.apache.org/jira/browse/GROOVY-9305
             Project: Groovy
          Issue Type: Bug
          Components: Groovy Console
    Affects Versions: 3.0.0-beta-3
         Environment: Training
            Reporter: Rod Hamann

Honestly, I am learning Groovy and I am getting this will taking the online course.

Windows 10

Java Folder : *C:\Program Files\Java\jdk-13.0.1*

+Env Vars:+
 * *CLASSPATH* = *C:\Program Files\Java\jdk-13.0.1\lib*
 * *JAVA_HOME* = *C:\Program Files\Java\jdk-13.0.1*
 * Path env has "*C:\Program Files\Java\jdk-13.0.1\bin*" in it



groovy> println "X"
Exception thrown

java.lang.NoClassDefFoundError: Unable to load class org.apache.groovy.jaxb.extensions.JaxbExtensions due to missing dependency javax/xml/bind/JAXBContext

at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

This message was sent by Atlassian Jira