File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Spring and the fly likes The hierarchy of type HomeController is inconsistent Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "The hierarchy of type HomeController is inconsistent" Watch "The hierarchy of type HomeController is inconsistent" New topic
Author

The hierarchy of type HomeController is inconsistent

VenkataPrasad Regula
Ranch Hand

Joined: Jun 30, 2011
Posts: 63
I have a controller class named HomeController which extends AbstractController. I am getting the message
The hierarchy of the type HomeController is inconsistent
. I faced the similar error a few days back when I was trying a controller which was extending SimpleFormController. Could someone kindly guide me what actually went wrong, what I am supposed to do. Thanks.
Preetesh Kumar
Greenhorn

Joined: Apr 19, 2015
Posts: 1
In my case I got this error while creating a Spring MVC Project. I missed to add related JAR files (spring-context-4.1.0.RELEASE.jar & spring-web-4.1.0.RELEASE.jar) in the build path.

Although other Spring JARs (Core, Beans, AOP & MVC) were already added but above mentioned JAR files were also required. Once I added other JARs, the error disappeared.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: The hierarchy of type HomeController is inconsistent