>hibernate Error: This project was not a MyEclipse Hibernate project. Assuming hibernate 3 caps

Source: Internet
Author: User

Tip: The project is not a myeclipse hibernate project when you open the Hibernate.cfg.xml file in the problem Web project.

Also: When using Hibernate reverse engineering to establish the bean and configuration file for the table in Dbbrower: No Javasource path is available.

Reason:

When using version control, the project root directory:. Project and. myhibernatedata files are not in version control, so after the members of the group have updated the source, they are missing

. <nature>com.genuitec.eclipse.hibernate.hibernatenature</nature> in Project

And

. myhibernatedata file.

Solution

Project name right-click--〉myeclipse-->add hibernate capabilites-->next-->hibernate config file--and existing-- Select the hibernate profile that exists for an existing project----and do not generate factory class--and end

PS: Transfer from http://blog.csdn.net/ice0river/archive/2008/08/23/2817486.aspx

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.