Jasypt和.war部署问题:缺少jasypt.encryptor.password

时间:2018-11-24 10:59:23

标签: java spring-boot encryption jasypt

我正在尝试将SpringBoot .war部署到tomcat,但是由于以下原因而失败:

Failed to bind properties under 'spring.mail.password' to java.lang.String:

Reason: Required Encryption configuration property missing: 
jasypt.encryptor.password

制作软件包时,我在哪里指定加密密码?目前,我正在创建一个像这样的程序包:干净的程序包“ -Djasypt.encryptor.password = MyEncryptionPassword”,但是它不起作用。

0 个答案:

没有答案