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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 3.0.5.Final
    • 3.0.2.Final
    • None

    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).

      Attachments

        Activity

          People

            Unassigned Unassigned
            cen.is.imba@gmail.com Klemen Ferjancic (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: