I'm using Apache Ant 1.10.12, and I have a problem with this mail task:
<mail mailhost="${email.host}" mailport="${email.port}" ssl="${email.ssl}" user="${email.smtp.user}" password="${email.smtp.password}"
replyto="${email.from}" from="${email.from}" tolist="${email.to}&开发者_StackOverflow中文版quot; cclist="${email.cc}"
subject="The ${build.version} build has completed">
This task works when I am using Java 11, but fails when I switch to Java 17. The error I get is this:
Failed to send email: could not instantiate ssl security provider, check that you have JSSE in your classpath
Java 11 debug output: https://controlc.com/7f283040
Java 17 debug output: https://controlc.com/6476775d
精彩评论