New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
java.lang.NoClassDefFoundError: javax/persistence/Persistence #190
Comments
This is caused by jpa dependency issue. On the system triggered this error it uses ebean-10's jpa-2.2.1 jar which does not have the Solution is force act to use JPA 2.1 by adding the following dependency
|
fixed in 1.3.1 |
i couldn't find 1.3.1 in maven. |
@vishaldhardubey it's here: http://search.maven.org/#artifactdetails%7Corg.actframework%7Cact%7C1.3.1%7Cjar However 1.3.1 is way outdated. The most recent version is 1.8.8-RC11. |
Thanks a lot sir. It worked for me.
…On Mon, Aug 6, 2018 at 3:15 PM Green Luo ***@***.***> wrote:
@vishaldhardubey <https://github.com/vishaldhardubey> it's here:
http://search.maven.org/#artifactdetails%7Corg.actframework%7Cact%7C1.3.1%7Cjar
However 1.3.1 is way outdated. The most recent version is 1.8.8-RC11.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#190 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AlcL18HZEL6_-zHEoqTOFvO_zj3arO8mks5uOBA6gaJpZM4NQTtU>
.
|
I have same problem for eclipselink JPA & JFS in maven. it work correctly without bean but generate this exception when use in session bean: Error stack:
my pox.xml : <dependency>
<groupId>org.eclipse.persistence</groupId>
<artifactId>eclipselink</artifactId>
<version>2.7.0-RC1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.eclipse.persistence</groupId>
<artifactId>javax.persistence</artifactId>
<version>2.1.0</version>
<scope>provided</scope>
</dependency> |
@hkhaghani do you mean you get the issue when you use ActFramework and EclipseLink? Can you share your code of |
@greenlaw110 thank you |
The following error triggered when parameter validation is running by apache bval:
The text was updated successfully, but these errors were encountered: