spring-boot启动报错This application has no explicit mapping for /error

spring-boot启动报错This application has no explicit mapping for /error, so you are seeing this as a fall 解决办法: 1.application启动类要放在controller包的同级 2.注意类的注解,controller类的注解要用@RestController,不用再用@Controller,其他
相关文章
相关标签/搜索