ulisesbocchio / jasypt-spring-boot

Jasypt integration for Spring boot
MIT License
2.88k stars 516 forks source link

spring boot2.2.0: jasypt-spring-boot2.1.0 Failed to bind properties under #161

Closed lunxian8 closed 4 years ago

lunxian8 commented 4 years ago

Upgrading spring boot2.2.0 found that a reference to jasypt2.1 caused the spring-@configurationproperties injection configuration error

huxudong commented 4 years ago

application.yml add proxy-property-sources: true

example:

jasypt:
  encryptor:
    password: password
    proxy-property-sources: true
zuoqi1993125 commented 4 years ago

application.yml add proxy-property-sources: true

example:

jasypt:
  encryptor:
    password: password
    proxy-property-sources: true

我加了这个配置,但是没有生效,依然绑定properties失败

ulisesbocchio commented 4 years ago

thanks @huxudong @zuoqi1993125 @lunxian8 was proxy-property-sources helpful?

lunxian8 commented 4 years ago

thanks @huxudong @zuoqi1993125 @lunxian8 was proxy-property-sources helpful?

added the proxy - property - sources: true But there are still errors

ulisesbocchio commented 4 years ago

fixed in 3.0.0