You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Sachin Nilajkar (Jira)" <se...@james.apache.org> on 2024/01/19 09:03:00 UTC
[jira] [Created] (JAMES-3971) James server startup issue with error as org.apache.openjpa.persistence.PersistenceProductDerivation:java.lang.NoClassDefFoundError
Sachin Nilajkar created JAMES-3971:
--------------------------------------
Summary: James server startup issue with error as org.apache.openjpa.persistence.PersistenceProductDerivation:java.lang.NoClassDefFoundError
Key: JAMES-3971
URL: https://issues.apache.org/jira/browse/JAMES-3971
Project: James Server
Issue Type: Bug
Components: James Core
Affects Versions: 3.8.0
Reporter: Sachin Nilajkar
We downloaded the binary file - [*https://dlcdn.apache.org/james/server/3.8.0/james-server-jpa-guice.zip*] and follow the documentation for installation in link - [https://james.apache.org/server/install/guice-jpa-smtp.html]
As part of this the last step to launch the james server we are getting error as -
#java -classpath '/<local_path>/james-server-jpa-guice/james-server-jpa-guice.jar:james-server-jpa-guice.lib/*' -javaagent:'/<local_path>/james-server-jpa-guice/james-server-jpa-app.lib/openjpa-3.2.0.jar' -Dlogback.configurationFile='conf/logback.xml' org.apache.james.JPAJamesServerMain
Some product derivations are being skipped. For information about product derivation status, run:
java org.apache.openjpa.lib.conf.ProductDerivations
org.apache.openjpa.persistence.PersistenceProductDerivation:java.lang.NoClassDefFoundError: javax/persistence/spi/PersistenceUnitInfo
Error: Could not find or load main class org.apache.james.JPAJamesServerMain
Please help to check and let us know how to fix it.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org