进入到项目的bin目录 加入下面这行 export CATALINA_OPTS="-Djava.security.egd=file:///dev/urandom" 然后 ./startup.sh 起服务 转载于:https://www.cnblogs.com/hougebajie/p/7641441.html