1、在yml配置文件里加入:
spring:
main:
allow-circular-references: true
2、能运行看不到网页的把yml配置文件的 resources: static-locations修改为web: resources: static-locations:
1、在yml配置文件里加入:
spring:
main:
allow-circular-references: true
2、能运行看不到网页的把yml配置文件的 resources: static-locations修改为web: resources: static-locations: