Guest User

Untitled

a guest
Apr 27th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. protected ModelAndView onSubmit(HttpServletRequest req, HttpServletResponse
  2. resp, Object command, BindException errors) throws Exception {
  3. ....
  4.  
  5. if(transactionStatus.equalsIgnoreCase("success")){
  6. ....
  7. return new ModelAndView("viewPaymentGatewaySuccessView", model);
  8.  
  9. }
  10. else {
  11.  
  12. return new ModelAndView("viewPaymentGatewayFailureView", model);
  13. }
  14.  
  15. org.springframework.beans.factory.BeanNotOfRequiredTypeException: Bean named
  16. 'paymentGatewayRedirectionController' must be of type
  17. [org.springframework.web.servlet.View], but was actually of type
  18. [com.rage.englishhelper.authentication.web.controller.
  19. PaymentGatewayRedirectionController]
Add Comment
Please, Sign In to add comment