"Java EE Spring" 24, on the configuration of JPA, the hint can not find the name of persistence my Cutter_point

Source: Internet
Author: User

Check the Persistence.xml.

<persistence-unit name="***" transaction-type="RESOURCE_LOCAL">

Note that we did not find the persistence unit we declared.
The line:

vider>org.hibernate.ejb.HibernatePersistence

Does not exist in the system and needs to go to hibernate website
Http://hibernate.org/30.html

Download Hibernate entitymanager Import into the project

Note:
Hibernate 3.2 and later releases support JPA, with three sub-projects involving JPA,
Each of them is:
-hibernate the core implementation of the Core:hibernate framework.
-hibernate Annotations: Support for JDK 5.0 annotations.
-hibernate Ettymanager: Support for JPA implementations.

The result of my project processing is:
is to introduce Hibernate-entitymanager-4.3.7.final.jar into this package.

"Java EE Spring" 24, on the configuration of JPA, the hint can not find the name of persistence my Cutter_point

Related Article

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.