6

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
Salvador Borés
  • 165
  • 1
  • 3
  • 9

1 Answers1

14

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

Jorj
  • 1,291
  • 1
  • 11
  • 32
  • Could you please provide more details on this move? I am asking because the following snippet would not build due to modified method signature: https://stackoverflow.com/a/31838439/2597758 – WebViewer Oct 06 '22 at 19:14