Issues caused by Hibernate version

Source: Internet
Author: User

On the development of MAVEN project, I personally encountered a series of problems recently, but solved a lot, now to share some of their experience to everyone, Java.lang.ClassNotFoundException: Play.db.jpa.JPABase, this question I think some people must have met, especially like to use the latest version of the software friends, I write Maven project, I encountered this problem began to tangle for a long time, later found to be hibernate version of the problem,

<dependency> <groupId>com.google.code.maven-play-plugin.org.hibernate</groupId> <artifactid >hibernate-core</artifactId> <version>4.2.15.final-patched-play-1.3.0</version></ Dependency>

This is now MAVEN official website The latest hibernate version, but if use this version, will always error, although does not affect the database operation, but the console will always error, I later found that some versions because there is no corresponding jar package, I now use the version does not have this problem

<dependency><groupid>org.hibernate</groupid><artifactid>hibernate-core</artifactid ><version>4.1.7.Final</version></dependency>

If you also have this problem, then change your hibernate version can be, hope to help everyone

This article is from the "Wind for the Shame" blog, please be sure to keep this source http://9266933.blog.51cto.com/9256933/1621245

Issues caused by Hibernate version

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.