Solved: apache-tomcat-8.5.70 flashes past after executing startup.bat

Article directory

Problem Description

  1. apache-tomcat-8.5.70 flashes after executing startup.bat (the local Java version is JDK11)

solution

Cause: There is no jre in the Java JDK11 installation path, and the user needs to choose the jre module by himself

  1. Solution: Generate the jre module yourself: enter the jdk installation path
  2. Enter the control console as an administrator, otherwise an error will be reported
  3. Execute the command: bin\jlink.exe --module-path jmods --add-modules java.desktop --output jre

Guess you like

Origin blog.csdn.net/qq_43408367/article/details/130089496