Tomcat启动问题-jvm访问拒绝的解决方法

如果没部署重要项目或者重要数据,建议先删掉tomcat安装目录下log目录的所有日志文件,便于启动后找到如下的打印日志 [2021-04-27 22:47:28] [info]  [ 4668] Starting service... [2021-04-27 22:47:28] [error] [ 4668] Found 'E:\javawolrd\jdk-16.0.1_windows-x64_bin\jdk-16.0.1\bin\server\jvm.dll' but couldn't load it. [2021-04-27 22:47:28] [error] [ 4668] 拒绝访问。 [2021-04-27 22:47:28] [error] [ 4668] Invalid JVM DLL handle. [2021-04-27 22:47:28] [error] [ 4668] 拒绝访问。 [2021-04-27 22:47:28] [error] [ 4668] 拒绝访问。 [2021-04-27 22:47:28] [error] [ 4668] Failed to load JVM DLL 'E:\javawolrd\jdk-16.0.1_windows-x64_bin\jdk-16.0.1\bin\server\jvm.dll', home ''. [2021-04-27 22:47:28] [error] [ 4668] 拒绝访问。 [2021-04-27 22:47:28] [error] [ 4668] Failed creating Java 'E:\javawolrd\jdk-16.0.1_windows-x64_bin\jdk-16.0.1\bin\server\jvm.dll'. [2021-04-27 22:47:28] [error] [ 4668] 拒绝访问。 [2021-04-27 22:47:28] [error] [ 4668] ServiceStart returned 1. [2021-04-27 22:47:28] [error] [ 4668] 拒绝访问。 [2021-04-27 22:47:28] [info]  [ 1540] Run service finished. [2021-04-27 22:47:29] [info]  [ 1540] Apache Commons Daemon procrun finished.    解决方法 拷贝jdk\bin目录中的msvcp140.dll和vcruntime140.dll到tomcat\bin目录下即可。  
上一篇:软件测试周刊(第47期):要爱具体的人,不要爱抽象的人;要爱生活,不要爱生活的意义。


下一篇:java jdk安装 win11