Eclipse the hierarchy of the type ... is Inconsisten

Source: Internet
Author: User

I am developing a spring/vaadin/hibernate application.

Everything works but I still has the following error markers in Eclipse STS 2.8.1:

The hierarchy of the type Bankview is inconsistentthe hierarchy of the type Abstractentityview is inconsistent


In my case, I found the the hierarchy of the type ... is inconsistent error in Eclipse being caused by a jar file class fr Om which I was extending my class referencing a class this is not in the build path.

So if you have:

In Other.dep.jarclass Fromotherdepjar {}//-dep.jarclass Fromdepjar extends Fromotherdepjar {}//in the current Proje Ctclass Problematicclass extends Fromdepjar {}

If Dep.jar is in the project's classpath, but Other.dep.jar isn ' t, Eclipse would show the the the hierarchy of the type. . is inconsistent error.

Take a look at the problems View in Eclipse, the Description column are more verbose on what's the actual problem is than The Hover-over.


Eclipse the hierarchy of the type ... is Inconsisten

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.