-
Bug
-
Resolution: Done
-
Major
-
30.0.1.Final, 31.0.0.Beta1
-
None
-
Migration
-
-
---
-
---
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