[2021-11-09 09:02:07] [info] [12948] Starting service...
[2021-11-09 09:02:07] [error] [12948] Found 'C:\Program Files\Java\jdk-17.0.1\bin\server\jvm.dll' but couldn't load it.
[2021-11-09 09:02:07] [error] [12948] 拒绝访问。
[2021-11-09 09:02:07] [error] [12948] Invalid JVM DLL handle.
[2021-11-09 09:02:07] [error] [12948] 拒绝访问。
[2021-11-09 09:02:07] [error] [12948] 拒绝访问。
[2021-11-09 09:02:07] [error] [12948] Failed to load JVM DLL 'C:\Program Files\Java\jdk-17.0.1\bin\server\jvm.dll', home ''.
[2021-11-09 09:02:07] [error] [12948] 拒绝访问。
[2021-11-09 09:02:07] [error] [12948] Failed creating Java 'C:\Program Files\Java\jdk-17.0.1\bin\server\jvm.dll'.
[2021-11-09 09:02:07] [error] [12948] 拒绝访问。
[2021-11-09 09:02:07] [error] [12948] ServiceStart returned 1.
[2021-11-09 09:02:07] [error] [12948] 拒绝访问。
[2021-11-09 09:02:07] [info] [ 4088] Run service finished.
解决方法
拷贝jdk\bin目录中的msvcp140.dll和vcruntime140.dll到tomcat\bin目录下即可。
0条评论
我要评论