I’m work on a multi module maven project and for the persistence I use eclipselink. When I deploy the ear file in weblogic I always get this error message: Failed to load webapp /yyy. Error processing persistent unit xxx of module /yyy. Error instantiating the Persistence Provider class org.apache.openjpa.persistence.PersistenceProviderImpl of the PersistentUnit xxx. java.lang.ClassNotFoundException org.apache.openjpa.persistence.PersistenceProviderImpl.
I guess it tries to use the default openjpa provider, but I have configured it to use eclipselink in the persistence.xml. Any ideas?
I’m work on a multi module maven project and for the persistence I use
Share
Use the prefer-web-inf-classes element in your
weblogic.xmlapplication descriptor.According to the documentation,
This is a related question which might help you as well.