springboot 集成freemarker报错
在尝试用springboot集成freemarker时候出了一点小问题,报错信息如下:
There was an unexpected error (type=Internal Server Error, status=500).
Circular view path [index]: would dispatch back to the current handler URL [/system/index] again. Check your ViewResolver setup! (Hint: This may be the result of an unspecified view, due to default view name generation.)
控制器是这样写的:
@RequestMapping("/system")
@Controller
public class SystemController {