我正在尝试将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”,但是它不起作用。