SpringBoot Controller找不到视图路径

在启动类加注解@ComponentScan("com.controller")即可,括号里表示Controller所在包名。

参考:https://blog.csdn.net/jialiang_chen/article/details/53871046

SpringBoot Controller找不到视图路径

posted @ 2018-04-08 16:16  lvlin241  阅读(896)  评论(0编辑  收藏  举报