Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

org.springframework.boot.autoconfigure.web.ErrorAttributes in SpringBoot 2.0.0.RELEASE

I've recently moved the project to SpringBoot 2.0.0.RELEASE but I got a compilation problem

The import org.springframework.boot.autoconfigure.web.ErrorAttributes cannot be 
 resolved
like image 405
Salvador Borés Avatar asked Dec 14 '22 17:12

Salvador Borés


1 Answers

The interface org.springframework.boot.autoconfigure.web.ErrorAttributes was moved to org.springframework.boot.web.servlet.error.ErrorAttributes and org.springframework.boot.web.reactive.error.ErrorAttributes for reactive stack

like image 159
Jorj Avatar answered Dec 16 '22 07:12

Jorj