You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by xi...@apache.org on 2025/01/12 07:07:42 UTC

(pulsar-manager) 18/24: fix: error pages path exception (#562)

This is an automated email from the ASF dual-hosted git repository.

xiangying pushed a commit to branch branch-0.5.0
in repository https://gitbox.apache.org/repos/asf/pulsar-manager.git

commit 2e4ad42c6c574da2f897a397c6a5a2fd5472193b
Author: Bäm <be...@switch.ch>
AuthorDate: Fri May 3 19:21:14 2024 +0200

    fix: error pages path exception (#562)
    
    (cherry picked from commit 3243fea62444a19cbe1206aad6d0e30272722f78)
---
 src/main/java/org/apache/pulsar/manager/PulsarManagerApplication.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/pulsar/manager/PulsarManagerApplication.java b/src/main/java/org/apache/pulsar/manager/PulsarManagerApplication.java
index 1505a02..e28260a 100644
--- a/src/main/java/org/apache/pulsar/manager/PulsarManagerApplication.java
+++ b/src/main/java/org/apache/pulsar/manager/PulsarManagerApplication.java
@@ -16,9 +16,10 @@ package org.apache.pulsar.manager;
 import org.mybatis.spring.annotation.MapperScan;
 import org.springframework.boot.SpringApplication;
 import org.springframework.boot.autoconfigure.SpringBootApplication;
+import org.springframework.boot.autoconfigure.web.servlet.error.ErrorMvcAutoConfiguration;
 import org.springframework.cloud.netflix.zuul.EnableZuulProxy;
 
-@SpringBootApplication
+@SpringBootApplication(exclude = {ErrorMvcAutoConfiguration.class})
 @EnableZuulProxy
 @MapperScan("org.apache.pulsar.manager.mapper")
 public class PulsarManagerApplication {