We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I visit an error page, I jump to the 404 page. But it is not the page I specified. How to specify an error page?
Current page
The text was updated successfully, but these errors were encountered:
hello?
Sorry, something went wrong.
That depends on whether you are also using Spring Web MVC and how you are deploying your application
If you use Spring Web MVC you should have a look at this: https://docs.spring.io/spring-boot/docs/2.6.x/reference/htmlsingle/#web.servlet.spring-mvc.error-handling
If you don't use it, you can use this: https://docs.spring.io/spring-boot/docs/2.6.x/reference/htmlsingle/#web.servlet.spring-mvc.error-handling.error-pages-without-spring-mvc
And if you are using war-deployment, there is an additional chapter: https://docs.spring.io/spring-boot/docs/2.6.x/reference/htmlsingle/#web.servlet.spring-mvc.error-handling.in-a-war-deployment
No branches or pull requests
When I visit an error page, I jump to the 404 page. But it is not the page I specified. How to specify an error page?
Current page
The text was updated successfully, but these errors were encountered: