You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<html><body><h1>Whitelabel Error Page</h1><p>This application has no explicit mapping for /error, so you are seeing this as a fallback.</p><div id='created'>Mon Apr 09 14:27:21 BST 2018</div><div>There was an unexpected error (type=Internal Server Error, status=500).</div><div>Foo</div></body></html>
The problem can be reproduced using
spring-boot-sample-web-jsp
with asrc/main/webapp/WEB-INF/jsp/error.jsp
with the following contents:$ mvn spring-boot:run
$ curl :8080/foo -H "Accept:text/html"
By contrast, it works when packaged as a war:
$ mvn clean package
$ java -jar target/spring-boot-sample-web-jsp-2.0.2.BUILD-SNAPSHOT.war
curl :8080/foo -H "Accept:text/html"
The problem occurs in both 1.5 and 2.0.
The text was updated successfully, but these errors were encountered: