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

java.lang.module.FindException under Java 9

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 3.1.4.Final
    • jaxrs

      Steps to reproduce:

      1. download the Vert.X resteasy-examples project.
      2. import it into your IDE of choice.
      3. configure your IDE to build and run with Java 9.
      4. run the main class io.vertx.core.Launcher with argument run io.vertx.examples.resteasy.asyncresponse.Server.

      Expected:

      • server launched, or fails somewhere in Vert.X code

      Actual:

      • server fails to launch, with the following error:
      Error occurred during initialization of boot layer
      java.lang.module.FindException: Unable to derive module descriptor for /Users/dmoles/.m2/repository/org/jboss/spec/javax/ws/rs/jboss-jaxrs-api_2.0_spec/1.0.1.Beta1/jboss-jaxrs-api_2.0_spec-1.0.1.Beta1.jar
      Caused by: java.lang.IllegalArgumentException: jboss.jaxrs.api.2.0.spec: Invalid module name: '2' is not a Java identifier
      

              Unassigned Unassigned
              dmolesuc3 David Moles (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: