Closed dragontree101 closed 3 years ago
add skip-property-sources
properties is ok!
jasypt:
encryptor:
skip-property-sources: 'org.springframework.boot.env.OriginTrackedMapPropertySource'
i debug jasypt-spring-boot-starter
, i found jasypt warpped all MapPropertySource
, i config profile in bootstrap.yml
use OriginTrackedMapPropertySource
, so is skip OriginTrackedMapPropertySource
, and my project can not get active profile
怎么解决的,兄弟,我看你关了
i use spring-boot 2.4.1 and spring-cloud 2020.0 and jasypt-spring-boot-starter 3.0.3
i set properties in bootstart.yml
and i run application, i found active change to default when i use jasypt-spring-boot-starter
if i set
everything is ok
this is a bug ? or i need to change any jasypt properties?
because i use
springProfile
variable in logback-spring.xml and not findtest
profile logback-spring.xml