Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-2435

Java 9 jigsaw - weld-servlet-core WeldProvider not in module

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.0.2.Final
    • Fix Version/s: 3.0.5.Final
    • Component/s: None
    • Labels:

      Description

      I am trying out a Java 9 jigsaw project and I included weld-servlet-core as dependency. Unfortunately it seems that something is wrong with the artifact jar since jar tool complains about a provider class missing:

      /usr/lib/jvm/java-9-openjdk-9.0.0.181-1.fc26.x86_64/bin/jar --file=weld-servlet-core-3.0.2-SNAPSHOT.jar --describe-module
      Unable to derive module descriptor for: weld-servlet-core-3.0.2-SNAPSHOT.jar
      Provider class org.jboss.weld.environment.WeldProvider not in module
      

      I also get the same error at runtime of my project (it compiles fine).

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                cen Klemen Ferjancic
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: