ulisesbocchio / jasypt-spring-boot

Jasypt integration for Spring boot
MIT License
2.87k stars 514 forks source link

Stack overflow when config is AA=${AA} #392

Open Cczzzz opened 4 months ago

Cczzzz commented 4 months ago

In not use jasypt-spring-boot , exception is IllegalArgumentException ,and print error key.

Caused by: java.lang.IllegalArgumentException: Circular placeholder reference 'AA' in property definitions at org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:147)

delete DefaultPropertyResolver#38 line. set the question at rest. It doesn't seem necessary. image