使用STS加入controller注解后编写程序无法自动提示

1.加入@Controller注解后编写程序无法自动提示,去掉了@Controller注解后就可以了!   2.解决方案:将@Controller替换为@RestController后,可以完美的提示了!
相关文章
相关标签/搜索