今天调试数据同步(从oracle数据库实时同步到mysql)时候,报了个错,能出结果,但是报错,错误如下:
javax.servlet.ServletException: Circular view path [tb]: would dispatch back to the current handler URL [/tb] again.
Check your ViewResolver setup! (Hint: This may be the result of an unspecified view, due to default view name generation.)
最终是因为@Controller没有写成@RestController的原因。