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
Remove '/resources/**' mapping and default servlet
Remove '/resources/**' mapping since it can cause problems with the
'/**' when the developer defines their own 'resources' sub-folder.
Also remove default servlet config since the resources mapping renders
it redundant.
Issue: #55494446
Copy file name to clipboardExpand all lines: spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/WebMvcAutoConfiguration.java
Copy file name to clipboardExpand all lines: spring-boot-samples/spring-boot-sample-web-static/src/test/java/org/springframework/boot/sample/ui/SampleWebStaticApplicationTests.java
+2-2
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@
23
23
24
24
/**
25
25
* Basic integration tests for demo application.
26
-
*
26
+
*
27
27
* @author Dave Syer
28
28
*/
29
29
publicclassSampleWebStaticApplicationTests {
@@ -63,7 +63,7 @@ public void testHome() throws Exception {
Copy file name to clipboardExpand all lines: spring-boot-samples/spring-boot-sample-web-ui/src/test/java/org/springframework/boot/sample/ui/SampleWebUiApplicationTests.java
+2-2
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@
26
26
27
27
/**
28
28
* Basic integration tests for demo application.
29
-
*
29
+
*
30
30
* @author Dave Syer
31
31
*/
32
32
publicclassSampleWebUiApplicationTests {
@@ -78,7 +78,7 @@ public void testCreate() throws Exception {
0 commit comments