1

As we have default tomcat in our springboot project, not able to set as in the below url.

https://www.inoks.com/hide-tomcat-version-from-the-error-message/ https://www.thegeekstuff.com/2013/08/hide-tomcat-version-number/

Also tried by adding server.info=Application Server inside the application.properties.

but its not working.

enter image description here

Rakshith M
  • 79
  • 1
  • 1
  • 7

1 Answers1

0

Showing java error details to the end user is not always a good idea. You may want to customize the spring boot whitelabel error page

https://www.baeldung.com/spring-boot-custom-error-page

Do Trung Duc
  • 396
  • 3
  • 13