如果没部署重要项目或者重要数据,建议先删掉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目录下即可。