How to solve the problem of clicking tomcat9.exe crashing

How to solve the problem of clicking tomcat9.exe crashing

A reader contacted me and asked why there were problems starting tomcat, even though the download had just finished and the operation had not yet started. Here's how to solve this problem.

1. Problem Description

Double-clicking startup.bat can start normally, but when starting tomcat9.exe, it pauses for a while and then crashes.

2. Solution

Open the command line terminal (shortcut key: Win + r ) and enter cmd

insert image description here

Then go to the bin directory of tomcat and enter service.bat install

(Because the problem has been solved on this machine, I just downloaded Tomcat on the virtual machine and took a screenshot of the virtual machine. Therefore, it is prompted that there is no JDK, JRE, etc.)

insert image description here

After the installation is complete, re-run the program and the problem is solved.

Knowledge point extension: tomcat clicks to run tomcat9.exe and crashes, localhost cannot access the page

Clicking startup.bat can start successfully, but it crashes when executing the tomcat9.exe file. This is a problem with the decompression package installation.

The solution is: enter the bin directory of tomcat in cmd (win+r) and execute the command: service.bat install

It will prompt that the installation is successful, and it will not crash when you run it again.

If you cannot access the homepage of the Tomcat official website locally after success, you need to configure the following in the control panel and check the options of the arrow content and the next directory.

Then click to run startup.bat or tomcat9.exe (do not close it after running), enter localhost and localhost:8080 in the browser to see the corresponding interface

This is the end of this article on how to solve the problem of tomcat9.exe crashing when clicking on it. For more information about tomcat9.exe crashing, please search for previous articles on 123WORDPRESS.COM or continue to browse the related articles below. I hope you will support 123WORDPRESS.COM in the future!

This is the end of this article on how to solve the problem of tomcat9.exe crashing when clicking on it. For more information about tomcat9.exe crashing, please search for previous articles on 123WORDPRESS.COM or continue to browse the related articles below. I hope you will support 123WORDPRESS.COM in the future!

You may also be interested in:
  • Detailed explanation of the solution to Tomcat's crash when double-clicking startup.bat
  • When the Web project is packaged into a war package and Tomcat is deployed, the startup.bat is run and the deployment fails directly. A quick solution
  • Solution to the problem of Tomcat crashing after clicking startup.bat
  • Double-click to start the startup.bat in tomcat and the reason and solution

<<:  Display ellipsis effect when table cell content exceeds (implementation code)

>>:  A small problem about null values ​​in MySQL

Recommend

Install nvidia graphics driver under Ubuntu (simple installation method)

Install the nvidia graphics card driver under Ubu...

Summary of the three stages of visual designer growth

Many people have read this book: "Grow as a ...

Solution to the Chinese garbled characters problem in MySQL under Ubuntu

Find the problem I have been learning Django rece...

A very detailed tutorial on installing rocketmq under Docker Desktop

Install Docker Desktop Download address: Docker D...

Working principle and example analysis of Linux NFS mechanism

What is NFS? network file system A method or mech...

Vue sample code for easily implementing virtual scrolling

Table of contents Preface Rolling principle accom...

Detailed explanation of creating and calling MySQL stored procedures

Table of contents Preface Stored Procedure: 1. Cr...

When to use Map instead of plain JS objects

Table of contents 1. Map accepts any type of key ...

What are the advantages of using B+ tree index in MySQL?

Before understanding this problem, let's firs...

A brief discussion on the specific use of viewport in mobile terminals

Table of contents 1. Basic Concepts 1.1 Two kinds...

How to use the Linux nl command

1. Command Introduction nl (Number of Lines) adds...

CSS3 realizes the effect of triangle continuous enlargement

1. CSS3 triangle continues to zoom in special eff...

Sample code for converting video using ffmpeg command line

Before starting the main text of this article, yo...

Detailed example of HTML element blocking Flash

Copy code The code is as follows: wmode parameter...