Hello everyone!
I am having issues with CDI after migrating to Wildfly 26.1.3. More specifically, when a jar deployment is deployed with a jboss-deployment-structure.xml:
<jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.3">
<deployment>
<module-alias name="deployment.something.jar"/>
</deployment>
</jboss-deployment-structure>
And then a war deployment depends on that jar with a boss-deployment-structure.xml:
<jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.3">
<deployment>
<dependencies>
<module name="deployment.something.jar"/>
</dependencies>
</deployment>
</jboss-deployment-structure>
Logs do show, that there is something being searched for in the correct module.
```
13:07:42,837 TRACE [org.jboss.modules] (Weld Thread Pool -- 1) Finding class com.mihas.wildfly.examples.unresolved.dependency.special.TestUtil from Module "deployment.jar-deployment-1.0.0-SNAPSHOT.jar" from Service Module Loader
13:07:42,837 TRACE [org.jboss.modules] (Weld Thread Pool -- 1) Finding local class com.mihas.wildfly.examples.unresolved.dependency.special.TestUtil from Module "deployment.jar-deployment-1.0.0-SNAPSHOT.jar" from Service Module Loader
13:07:42,837 TRACE [org.jboss.modules] (Weld Thread Pool -- 1) Loading class com.mihas.wildfly.examples.unresolved.dependency.special.TestUtil locally from Module "deployment.jar-deployment-1.0.0-SNAPSHOT.jar" from Service Module Loader
13:07:42,837 TRACE [org.jboss.modules] (Weld Thread Pool -- 1) Attempting to define class com.mihas.wildfly.examples.unresolved.dependency.special.TestUtil in Module "deployment.jar-deployment-1.0.0-SNAPSHOT.jar" from Service Module Loader
13:07:42,838 TRACE [org.jboss.modules.define] (Weld Thread Pool -- 1) Defined class com.mihas.wildfly.examples.unresolved.dependency.special.TestUtil in Module "deployment.jar-deployment-1.0.0-SNAPSHOT.jar" from Service Module Loader```
but the deployment of the war fails with:
`Caused by: java.lang.ClassNotFoundException: com.mihas.wildfly.examples.unresolved.dependency.special.TestUtil from [Module "deployment.war-deployment-1.0.0-SNAPSHOT.war" from Service Module Loader]`
I am not sure what I am missing here, has something been changed of how the configuration should be made?