Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-18880

missing dependency to org.wildfly.clustering.marshalling.spi in clustering.ee.cache module.xml

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 31.0.0.Final
    • 30.0.1.Final, 31.0.0.Beta1
    • Clustering
    • None
    • Migration
    • Hide

      Add <module name="org.wildfly.clustering.marshalling.spi"/> in 30.0.1.Final\modules\system\layers\base\org\wildfly\clustering\ee\cache\main\module.xml

      Show
      Add <module name="org.wildfly.clustering.marshalling.spi"/> in 30.0.1.Final\modules\system\layers\base\org\wildfly\clustering\ee\cache\main\module.xml
    • ---
    • ---

      Hello,

      i'm migrating to wildfly 30.0.1 from wildfly 28.0.1. I have the following error during deploy:

       

      Failed to define class org.wildfly.clustering.ee.cache.KeySerializer in Module "org.wildfly.clustering.ee.cache" version 30.0.1.Final from local module loader @4b770e40
          (finder: local module finder @78e16155 
              (roots: C:\path\wildfly-30.0.1.Final (1) \wildfly-30.0.1.Final\modules,
              C:\path\wildfly-30.0.1.Final (1)\wildfly-30.0.1.Final\modules\system\layers\base)
          ): java.lang.NoClassDefFoundError: Failed to link org/wildfly/clustering/ee/cache/KeySerializer 
              (Module "org.wildfly.clustering.ee.cache" version 30.0.1.Final from local module loader @4b770e40 
                  (finder: local module finder @78e16155 
                      (roots: C:\path\wildfly-30.0.1.Final (1)\wildfly-30.0.1.Final\modules,
                      C:\path\wildfly-30.0.1.Final (1)\wildfly-30.0.1.Final\modules\system\layers\base
                      )
                  )
              ): org/wildfly/clustering/marshalling/spi/FunctionalSerializer

       

      I found out the cause of this exception.

      In modules\system\layers\base\org\wildfly\clustering\ee\cache\module.xml the dependency to org.wildfly.clustering.marshalling.spi is missing. 

      I have the problem only in deploy phase because in clustering/ee/cache/pom.xml there is the dependency to org.wildfly.clustering.marshalling.spi

              bstansbe@redhat.com Brian Stansberry
              francesco.potenziani Francesco Potenziani (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: