Uploaded image for project: 'JBoss Metadata'
  1. JBoss Metadata
  2. JBMETA-405

[JDK9+] org.jboss.metadata.merge package is exported by multiple jars

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 12.0.0.Final
    • None
    • common, ear
    • None

    Description

      if you have
      jboss-metadata-ear-11.0.0.Final.jar and jboss-metadata-common-11.0.0.Final.jar
      on your module path, jvm complains as both jars export package org.jboss.metadata.merge
      which violates the modules contract where only one module (jar) can provide single package.

      example error that jvm prints

      Error: Modules jboss.metadata.ear and jboss.metadata.common export package org.jboss.metadata.merge to module wildfly.clustering.common
      

      Attachments

        Issue Links

          Activity

            People

              tomazcerar Tomaž Cerar (Inactive)
              tomazcerar Tomaž Cerar (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: