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