'org.jboss.modules.ModuleNotFoundException: org.glassfish.jersey.core:2.22.4

I want to switch from Wildfly 11 to Wildfly 18. Now I wanted to deploy an old deployment /ear (under Wildfly11 if possible) in Wildfly 18. This for testing reason. I get the above error message. At what point can I include the missing glassfish files? Is that even possible to deploy an old Ear 11 in Wildfly 18? Do I have to link to a specific module?

org.jboss.modules.ModuleNotFoundException: org.glassfish.jersey.core:2.22.4 in

C:..\wildfly\modules\org



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source