Greetings all. I am encountering an odd situation I cannot fathom.
I am using JDK 17 and Wildly 28.
I have an EJB JAR deployed to the server as a module. (module-info in effect)
Said module is a dependency in a WAR's \WEB-INF\jboss-deployment-struncture.xml file. (module-info is also in effect, the project imports the jar's packages; compiles ok).
During deployment I'm getting errors I do not understand as the module is there (I've deployed JDBC drivers before so comfortable with that process).
What might I have missed?
08:28:06,575 WARN [org.jboss.modules.define] (MSC service thread 1-4) Failed to define class a.b.c.ccr.clazz.api.rest.export.ServiceCallerCargo in Module "deployment.class-api-war-1.0.0.war" from Service Module Loader: java.lang.NoClassDefFoundError: Failed to link a/b/c/ccr/clazz/api/rest/export/ServiceCallerCargo (Module "deployment.class-api-war-1.0.0.war" from Service Module Loader): a/b/c/ccr/clazz/ejb/facility/db/cargo/CargoAncestor
08:28:06,659 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed to start service jboss.deployment.unit."class-api-war-1.0.0.war".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."class-api-war-1.0.0.war".POST_MODULE: WFLYSRV0153: Failed to process phase POST_MODULE of deployment "class-api-war-1.0.0.war"
Caused by: java.lang.RuntimeException: WFLYSRV0177: Error getting reflective information for class a.b.c.ccr.clazz.api.rest.facility.helper.FacilityServiceHelperImpl with ClassLoader ModuleClassLoader for Module "deployment.class-api-war-1.0.0.war" from Service Module Loader
Caused by: java.lang.NoClassDefFoundError: a/b/c/ccr/clazz/ejb/facility/db/dao/FacilityDAO
Caused by: java.lang.ClassNotFoundException: a.b.c.ccr.clazz.ejb.facility.db.dao.FacilityDAO from [Module "deployment.class-api-war-1.0.0.war" from Service Module Loader]