SpringBoot 2.0.0.RELEASE中的org.springframework.boot.autoconfigure.web.ErrorAttributes

时间:2018-03-23 09:27:01

标签: java spring spring-mvc spring-boot

我最近将项目移至SpringBoot 2.0.0.RELEASE,但我遇到了编译问题

The import org.springframework.boot.autoconfigure.web.ErrorAttributes cannot be 
 resolved

1 个答案:

答案 0 :(得分:7)

接口org.springframework.boot.autoconfigure.web.ErrorAttributes已移至 org.springframework.boot.web.servlet.error.ErrorAttributesorg.springframework.boot.web.reactive.error.ErrorAttributes用于反应堆栈