In my working Spring Boot 1.4 application, I currently have
import org.springframework.boot.context.embedded.ErrorPage;
According to the documentation, as of 1.4 this class is deprecated in favor of org.springframework.boot.web.ErrorPage
However, when I change the code to
import org.springframework.boot.web.ErrorPage;
I get an error The import org.springframework.boot.web.ErrorPage cannot be resolved
How can this be fixed?
The javdoc's wrong. The correct replacement is org.springframework.boot.web.servlet.ErrorPage. I've opened an issue so that we can fix the javadoc. Thanks for letting us know.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With