jasypt-spring-boot
jasypt-spring-boot copied to clipboard
spring.main.allow-bean-definition-overriding lose config
help!!!
help!!!
com.github.ulisesbocchio jasypt-spring-boot-starter 3.0.3 com.alibaba.cloud spring-cloud-starter-alibaba-nacos-discovery 2.2.1.RELEASE import jasypt the feign overriding setting will failover.......
解决掉了吗
help!!!
解决了吗
碰到同样的问题 请求如何解决的?
使用jasypt 框架后 在bootstrap.yml 中配置 spring: main: allow-bean-definition-overriding: true 在bootstrap 阶段 正常,启动阶段会发生 这个属性丢失。
我的临时解决方法是在 application.yml 中 再写一遍 spring: main: allow-bean-definition-overriding: true
I don't understand a word of what's being discussed here... care to explain?
jasypt.encryptor.bootstrap=true
这个属性为 true的时候 , 日志开头就会出现 app_name_IS_UNDEFINED ,无法获取名字的问题 当 false的时候,就正常
项目源码 demo-jasypt.zip

@ulisesbocchio Is the information I provided helpful?
@ulisesbocchio The introduction of a dependency will result in "spring.main.allow-bean-definition-overriding" property Forced closure
@k631583871 想咨询一下 这个jasypt.encryptor.bootstrap 属性是干什么的,为什么关闭了它就不报 spring.main.allow-bean-definition-overriding失效了
@xiaomizhou95 我觉得这个是一个问题,正常应用的 bootstrap 阶段配置是可以传递给 application 的. 但是引入jasypt ,就造成配置无法传递下去. 要是 bootstrap阶段没有需要加密的配置,可以 jasypt.encryptor.bootstrap=false 这样配置来关闭这个功能来解决问题
@xiaomizhou95 我觉得这个是一个问题,正常应用的 bootstrap 阶段配置是可以传递给 application 的. 但是引入jasypt ,就造成配置无法传递下去. 要是 bootstrap阶段没有需要加密的配置,可以 jasypt.encryptor.bootstrap=false 这样配置来关闭这个功能来解决问题
好的 谢谢