阿里RAP本地Ubuntu部署图片验证码显示出来 : Could not initialize class javax.imageio.ImageIO

到tomcat bin 路径下
sed -i ‘/-Djava.io.tmpdir=/a-Djava.awt.headless=true \’ ./catalina.sh

你可能感兴趣的:(java)