你是否遇见这个问题
Property or field 'id' cannot be found on object of type'org.springframework.beans.factory.config.BeanExpressionContext' - maybe not public or not valid?
检查一下你的@GetMapping("/{id}")等注解,中是否用的是/{id}
如果不是则会报错,比如#,用图里的$则会显示no mapping get xxx
你是否遇见这个问题
Property or field 'id' cannot be found on object of type'org.springframework.beans.factory.config.BeanExpressionContext' - maybe not public or not valid?
检查一下你的@GetMapping("/{id}")等注解,中是否用的是/{id}
如果不是则会报错,比如#,用图里的$则会显示no mapping get xxx