MyEclipse add Hibernate capabilities not available workaround

Source: Internet
Author: User

In the myeclipse can not create a new hibernate, I have seen two cases, one is previously built in the project hibernate, once again established, will appear add Hibernate capabilities is not available, In this case, just switch to the Java navigation attempt, in the root directory of the projecthave aProject Profile: ". Project", when open, usually at the bottom of the:<natures><nature>com.genuitec.eclipse.hibernate.hibernatenature</nature><nature>com.genuitec.eclipse.j2eedt.core.webnature</nature><nature>org.eclipse.jdt.core.javanature</nature></natures> Delete Hibernate related items and save them. Then select the item, and in the Add Hibernate capabilities operation, it will be OK.
Another is that in a new environment (there is no <nature>com.genuitec.eclipse.hibernate.hibernatenature</nature> in the. project file), use the Add Hibernate capabilities, after clicking Add Hibernate capabilities, Eclipse does not respond, for this use situation, my idea is that the Eclipse version and the MyEclipse version of the inconsistency caused. I used the eclipse version of the 3.3,myeclipse version is 5.0, this will happen, when I use 3.2 version of Eclipse and 5.0 version of MyEclipse, this situation will not appear, smoothly into the addhibernate capabilities.

MyEclipse add Hibernate capabilities not available workaround

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.