idea和jar包都能正常运行,在tomcat10 + jdk17运行环境下提示servlet已注册,请教大神该如何解决 。附上报错信息:
Caused by: java.lang.IllegalStateException: Failed to register ‘filter springSecurityFilterChain’ on the servlet context. Possibly already registered?
at org.springframework.boot.web.servlet.DynamicRegistrationBean.register(DynamicRegistrationBean.java:122)
at org.springframework.boot.web.servlet.RegistrationBean.onStartup(RegistrationBean.java:52)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.selfInitialize(ServletWebServerApplicationContext.java:236)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.createWebServer(ServletWebServerApplicationContext.java:192)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:161)
tomcat10运行war包启动失败[阿里云服务器]
「点点赞赏,手留余香」
还没有人赞赏,快来当第一个赞赏的人吧!