问题
I have this requirement, where "com.my.application/" should show customized 404 error page while "com.my.application/data" should work properly.
Following context-path is configured in application.properties
server.context-path=/data
What are my options? How can I keep context-path "/" and "/data" both alive?
来源:https://stackoverflow.com/questions/55247140/spring-boot-multiple-contexts-one-for-public-error