common引入blade-core-secure网关服务报错

Blade 已结 1 164
chenxing
chenxing 剑童 2023-10-18 15:15

一、该问题的重现步骤是什么?

1. 在common包添加

blade-core-secure

2.启动网关服务

3.org.springframework.beans.factory.BeanDefinitionStoreException: Failed to process import candidates for configuration class [org.springblade.gateway.GateWayApplication]; nested exception is java.io.FileNotFoundException: class path resource [org/springframework/web/servlet/config/annotation/WebMvcConfigurer.class] cannot be opened because it does not exist


二、你期待的结果是什么?实际看到的又是什么?


三、你正在使用的是什么产品,什么版本?在什么操作系统上?开源版本  windows


四、请提供详细的错误堆栈信息,这很重要。


五、若有更多详细信息,请在下面提供。

1条回答
  •  zhx1994
    zhx1994 (最佳回答者)
    2023-10-18 23:52

    网关不能引入web相关的依赖的。

    1 讨论(1)
提交回复