linux下启动tomcat时卡在Deploying web application directory

找到jdk1.x.x_xx/jre/lib/security/Java.security文件,在文件中找到securerandom.source这个设置项,将其改成:java

securerandom.source=file:/dev/./urandomtomcat

 

找到该设置项以后发现securerandom.source=file:/dev/urandom  中间少了/./  改成securerandom.source=file:/dev/./urandomdom

再从新启动tomcat  正常!.net

相关文章
相关标签/搜索