• Post Reply Bookmark Topic Watch Topic
  • New Topic

This application has no explicit mapping for /error, so you are seeing this as a fallback  RSS feed

 
VarunS Singh
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
""Whitelabel Error Page

This application has no explicit mapping for /error, so you are seeing this as a fallback.

Sat Sep 30 11:56:24 IST 2017
There was an unexpected error (type=Not Found, status=404).
No message available""

Above is the error I am getting despite i have solved this earlier for differrent project but I m unable to do it for this one. I am pasting the necessary code that might be faulty below. Please any suggestion will be appreciated. Thanks in advance.


BookController.java in controller package


AdminportalApplication.java in com package


BookService whch is an interface in service package


BookServiceimpl is an implementation class of above interface in service.impl package


The controller package has two controller classes 1. Controller.java and 2. HOmeController. I m thinking that it is looking for the mapping in wrong controller or something. please help...
 
VarunS Singh
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually the problem is getting solved by making different packges for each controller. why is that so?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!