Iam new to Spring world. Have imported a new spring maven project from GIThub.
Exception: When i try to run the application, iam getting the below error in my console.
No mapping found for HTTP request with URI [/bgx_fc_webapp/error/notauthorised] in DispatcherServlet with name 'Fashion'
Well as the exception says /bgx_fc_webapp/error/notauthorised is not mapped to a Controller. The way you have mapped your XML is that all requests to your webapp will be routed to the DispatcherServlet. Unauthorizes requests will be redirected to error/notauthorised. SInce, DispatcherServlet servers error/notauthorised too, it;s coming back to DispatcherServlet and it is tryiong to find a controller to server the request
Generally you simply redirect authentication failures to a simple htm page.