ulisesbocchio / jasypt-spring-boot

Jasypt integration for Spring boot
MIT License
2.92k stars 523 forks source link

StackOverflowError with SpringBoot 3.1.5 and jasypt-spring-boot-starter 3.0.5 with ${cors.origins.allowed:#{http://localhost:4200}} #377

Open git9999999 opened 1 year ago

git9999999 commented 1 year ago

Hi

Upgraded from SpringBoot 2.6.6 with

     <dependency>
            <groupId>com.github.ulisesbocchio</groupId>
            <artifactId>jasypt-maven-plugin</artifactId>
            <version>3.0.4</version>
        </dependency>

To SpringBoot 3.1.5 with

       <dependency>
            <groupId>com.github.ulisesbocchio</groupId>
            <artifactId>jasypt-spring-boot-starter</artifactId>
            <version>3.0.5</version>
        </dependency>

It used to work with application.properties cors.origins.allowed=${cors.origins.allowed:#{http://localhost:4200}} But after the upgrade i get a java.lang.StackOverflowError similar to https://github.com/ulisesbocchio/jasypt-spring-boot/issues/209

boufenzi commented 7 months ago

did you resolve this problem, because i'm having the same one for days now

git9999999 commented 7 months ago

@boufenzi I changed the way i use it. Now i do

...allowed-origins: '*'

and i Overwrite the value on the environment with the correct value.

so this Bug is still open.