HTTP Status 500 - Circular view path [hello]: would dispatch back to the current handler URL [/MySpringMVCTest/hello] again. Check your ViewResolver setup! (Hint: This may be the result of an unspecified view, due to default view name generation.)
解决办法:修改返回的ModelAndView视图类型:servlet包下才是正确的,portlet包下是错误的,springmvc没有这个返回类型,因此报错!