SpringBoot 默认情况 下,SpringMVC 遇到异常,会向上抛出, 然后发送一个/error 请求。所以,@Transaction标注在Controller的请求上也可以生效,但是不推荐这样做。