The hierarchy of the type Anchortag is inconsistent

Source: Internet
Author: User

A class needs to be overwritten in project development, but it is encountered when overwriting:

The hierarchy of the type Anchortag is inconsistent

The general meaning of this question is that the Anchortag class cannot inherit the parent class.

However, after careful review of the package you imported and found that there are no errors, then the following methods can be resolved.

Workaround:

if it is MyEclipse, right click on the project directory, Properties->java Build path->libraries->add libraries->myeclipse Libraries (next)->java EE 5 libraries should be OK.


If it doesn't work out, the best thing to do is to rebuild a project and then copy all of the content into the new project, and this weird problem disappears automatically.

The above two is the solution, as to what the online inheritance error and so on, and then guide the package and other said foggy, what problems can not be solved.


This article is from the "Programming Development" blog, be sure to keep this source http://w7984.blog.51cto.com/5147254/1852549

The hierarchy of the type Anchortag is inconsistent

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.