I updated my wildfly version from 14.0.1 to 27.0.1 everything is working fine on mylocal environment. However, when i deploy it to the docker following errors come up.

I have three persistence units using jakarta java 11 and eclipslink as persistence provider. please let me know what am i doing wrong?
The problem is related to the Eclipselink module in wildfly 27.0.1, which is not properly configured in the module.xml file. To fix this issue, you need to add dependencies to the module.xml file that are not present by default. Eclipselink uses these dependencies to function correctly.
To do this, follow these steps:
Open the
module.xmlfile for the Eclipselink module, which is located at<WILDFLY_HOME>/modules/system/layers/base/org/eclipse/persistence/main/module.xml.Add the following dependencies to the dependencies section of the module.xml file:
Save the changes to the
module.xmlfile and restart Wildfly.Here is an example of what the updated module.xml file should look like: