一、该问题的重现步骤是什么?
1. 安装咱论坛的 swagger.enabled 设置为false 来关闭swagger功能
2.
3.
二、你期待的结果是什么?实际看到的又是什么?
设置 swagger.enabled 设置为false ,项目启不起来出现
2024-11-22 08:50:04.237 DEBUG 9560 --- [ main] o.f.common.engine.impl.db.DbSqlSession : Flushing dbSqlSession
2024-11-22 08:50:04.237 DEBUG 9560 --- [ main] o.f.common.engine.impl.db.DbSqlSession : flush summary: 0 insert, 0 update, 0 delete.
2024-11-22 08:50:04.237 DEBUG 9560 --- [ main] o.f.common.engine.impl.db.DbSqlSession : now executing flush...
2024-11-22 08:50:04.237 DEBUG 9560 --- [ main] o.a.i.t.managed.ManagedTransaction : Closing JDBC Connection [Transaction-aware proxy for target Connection [ConnectionProxyImpl{connectedTime=2024-11-22 08:49:37.56, closeCount=0, lastValidateTimeMillis=2024-11-22 08:49:37.562}]]
2024-11-22 08:50:04.242 DEBUG 9560 --- [ main] o.f.c.e.impl.interceptor.LogInterceptor : --- ClearProcessInstanceLockTimesCmd finished --------------------------------------------------------
2024-11-22 08:50:04.243 DEBUG 9560 --- [ main] o.f.c.e.impl.interceptor.LogInterceptor : --- starting SchemaOperationProcessEngineClose --------------------------------------------------------
2024-11-22 08:50:04.243 DEBUG 9560 --- [ main] o.f.c.s.SpringTransactionInterceptor : Running command with propagation REQUIRED
2024-11-22 08:50:04.245 DEBUG 9560 --- [ main] o.f.c.engine.impl.agenda.AbstractAgenda : Operation class org.flowable.engine.impl.interceptor.CommandInvoker$1 added to agenda
2024-11-22 08:50:04.245 DEBUG 9560 --- [ main] o.f.e.impl.interceptor.CommandInvoker : Executing operation class org.flowable.engine.impl.interceptor.CommandInvoker$1
2024-11-22 08:50:04.251 DEBUG 9560 --- [ main] o.f.c.e.impl.interceptor.LogInterceptor : --- SchemaOperationProcessEngineClose finished --------------------------------------------------------
2024-11-22 08:50:04.260 INFO 9560 --- [ main] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ...
2024-11-22 08:50:04.270 INFO 9560 --- [ main] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed
2024-11-22 08:50:04.281 INFO 9560 --- [ main] ConditionEvaluationReportLoggingListener :
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2024-11-22 08:50:04.327 ERROR 9560 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter :
三、你正在使用的是什么产品,什么版本?在什么操作系统上?
单体版 3.4.0.RELEASE
四、请提供详细的错误堆栈信息,这很重要。
五、若有更多详细信息,请在下面提供。
另外项目的 这个配置好像没有使用
swagger是在prod环境下自动关闭的,不需要做额外配置
如果不行的话,按照这样试试看,你看到的配置是基于4.x的,和3.x的配置不一样
props.setProperty("knife4j.enable", "true"); props.setProperty("knife4j.production", "true"); props.setProperty("swagger.enabled", "false");
讨论(0)
-
不是基于4.x的的配置,我增加了几个swagger属性而已, 我表达的意思是 怎么通过配置文件配置来关闭,prod环境下 关闭 我知道。唉
讨论(0)
官方新品
- 热议问题
-
FeignClient远程调用blade-user服务,刚调用就触发熔断
1
-
单点登录应用授权失败问题
1
-
镜像推送失败 Unable to push
1
-
BladeX大模型平台
1
-
物联网平台,物模型设置后,使用设备调试功能,在设置时,出现字段类型与定义不符的情况。
1
-
通过spring-boot漏洞获取heapdump文件,读取数据库账号密码获取数据库数据,获得服务器文件信息
1
-
升级bladex4.5.0使用freemarker页面渲染代码丢失
1
-
怎么动态修改顶部菜单栏里面标题?
1
-
网关 node red pro 的docker部署问题
1
-
两个服务连接power-job,只能启动一个,第二个端口占用
1
扫一扫访问 Blade技术社区 移动端