Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-2039

Invalid module name for jboss.jaxb.api.2.3.spec

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 3.6.1.Final
    • jaxrs
    • Hide

      Create a Gradle project with the below configuration and run it.

      Show
      Create a Gradle project with the below configuration and run it.

      Using Gradle 4.10.2, Java11 and specifying the dependency:

      compile "org.jboss.resteasy:resteasy-client:3.6.1.Final"

      will results in an error executing run:

      > Task :run FAILED
      Error occurred during initialization of boot layer
      java.lang.module.FindException: Unable to derive module descriptor for C:\Users\Nir\.gradle\caches\modules-2\files-2.1\org.jboss.spec.javax.xml.bind\jboss-jaxb-api_2.3_spec\1.0.0.Final\fd03ab1e2b25dcf20af049d34ef4b8d2d97b73f\jboss-jaxb-api_2.3_spec-1.0.0.Final.jar
      Caused by: java.lang.IllegalArgumentException: jboss.jaxb.api.2.3.spec: Invalid module name: '2' is not a Java identifier
      

      Project is non-modular.

              Unassigned Unassigned
              omega09 N L (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: