Add additional ViewResolver configuration
The DispatcherServlet adds a default InternalViewResolver which was used by some apps, but when the actuator was available it added an "/error" bean and effectively switched off the default view resolver. The net fix was to add an InternalViewResolver at the same time as adding any other ViewResolvers. [Fixes #55357516] [bs-290] Actuator UI app cannot serve static index.html
This commit is contained in:
@@ -19,6 +19,11 @@
|
||||
<artifactId>spring-boot-starter-web</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>spring-boot-starter-actuator</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>spring-boot-starter-tomcat</artifactId>
|
||||
|
||||
Reference in New Issue
Block a user