spring_boot启动报错

配置好pom文件后,在controller加注解,如下:

运行后报错!!!

发现配置加的是多此一举,修改为下边的,运行OK

猜你喜欢

转载自www.cnblogs.com/ljc1212/p/9504285.html