目录结构不符合要求,Controller包必须和AppApplication.java同级,因为@SpringBootApplication默认会去扫描同级目录或者子集目录下的所有类。
springboot启动之后输入url显示404
猜你喜欢
转载自blog.csdn.net/weixin_37841366/article/details/109097767
今日推荐
周排行