Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-9305

Unable to load class JaxbExtensions

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Not A Problem
    • Affects Version/s: 3.0.0-beta-3
    • Fix Version/s: None
    • Component/s: Groovy Console
    • Labels:
      None
    • Environment:
      Training

      Description

      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:

      • CLASSPATHC:\Program Files\Java\jdk-13.0.1\lib
      • JAVA_HOMEC:\Program Files\Java\jdk-13.0.1
      • Path env has "C:\Program Files\Java\jdk-13.0.1\bin" in it

       

      Console:

      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)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rodhamann Rod Hamann
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: