ANT存在警告及邮件发送失败问题处理
2020-11-03 本文已影响0人
魔团
1、运行后产生警告信息:

原因:cmd权限不足,应使用管理员的权限开启

右击命令提示符-选择属性

勾选用管理员身份运行

或者直接以管理员身份运行也可

2、邮件发送失败

1、在发送人的邮箱(QQ邮箱中打开SMTP服务)

完成后,将授权码复制到build.xml中

2、下载以下3个jar包,并放置在ant\lib目录下

原因:cmd权限不足,应使用管理员的权限开启
右击命令提示符-选择属性
勾选用管理员身份运行
或者直接以管理员身份运行也可
1、在发送人的邮箱(QQ邮箱中打开SMTP服务)
完成后,将授权码复制到build.xml中
2、下载以下3个jar包,并放置在ant\lib目录下