JustPaste.it

[INFO] --- openjpa-maven-plugin:3.1.2:enhance (default-cli) @ datalayer ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  4.095 s
[INFO] Finished at: 2021-03-06T23:04:00+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.openjpa:openjpa-maven-plugin:3.1.2:enhance 
(default-cli) on project datalayer: Execution default-cli of goal org.apache.openjpa:
openjpa-maven-plugin:3.1.2:enhance failed: MetaDataFactory could not be configured (c
onf.newMetaDataFactoryInstance() returned null). This might mean that no configuratio
n properties were found. Ensure that you have a META-INF/persistence.xml file, that i
t is available in your classpath, or that the properties file you are using for confi
guration is available. If you are using Ant, please see the <properties> or <properti
esFile> attributes of the task's nested <config> element. This can also occur if your
 OpenJPA distribution jars are corrupt, or if your security policy is overly strict.