diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 882d0f0..e217b71 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,6 +1,6 @@ spring.profiles.active=dev -# \u6240\u6709\u73AF\u5883\u901A\u7528\u7684\u914D\u7F6E\uFF0C\u653E\u5728\u8FD9\u91CC +# 所有环境通用的配置,放在这里 -# 404 \u4EA4\u7ED9\u5F02\u5E38\u5904\u7406\u5668\u5904\u7406 +# 404 交给异常处理器处理 spring.mvc.throw-exception-if-no-handler-found=true -spring.resources.add-mappings=false \ No newline at end of file +spring.resources.add-mappings=false