jasypt-spring-boot-starter@3.0.4;
Gradle version 6.5.0;
yaml:
spring:
datasource:
db:
driver-class-name: xxx
jdbc-url: xxx
username: xxx
password: ENC(xxxx)
I set the jasypt.encryptor.password into environment in IDE eclipse, it can be run properly in IDE, but gradle build failed,
Error message: Caused by: org.springframework.boot.context.properties.bind.BindException: Failed to bind properties under 'spring.datasource.db.password' to java.lang.String
jasypt-spring-boot-starter@3.0.4; Gradle version 6.5.0; yaml: spring: datasource: db: driver-class-name: xxx jdbc-url: xxx username: xxx password: ENC(xxxx) I set the jasypt.encryptor.password into environment in IDE eclipse, it can be run properly in IDE, but gradle build failed,
Error message: Caused by: org.springframework.boot.context.properties.bind.BindException: Failed to bind properties under 'spring.datasource.db.password' to java.lang.String