一、该问题的重现步骤是什么?
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)
- 热议问题
-
vue自定义组件表格自动滚动问题
1
-
BladeX对应的在uni-app + vue3小程序中使用BladeX中的sm-crypto sm加密,报错无法使用
1
-
请问流程设计中有多个节点是 自定义流程表达式,只有第一个节点赋值成功,第二个是空的,如下图
1
-
vue-data如何跟bladex结合 多租户的情况下
1
-
Data-Server-Boot 版本使用问题
1
-
前端传入带html标签的字符串接口过滤标签的问题
1
-
物联网部署的时候 /proxy/bladex-broker 跨域。
2
-
腾讯SMS相关
1
-
表格滚动条宽度调整问题
1
-
物模型如果存在模块分组,会导致获取不到缓存获取物模型的数据类型
1
扫一扫访问 Blade技术社区 移动端