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

How to use Nginx to carry rtmp live server

This time we set up an rtmp live broadcast server...

Apache ab concurrent load stress test implementation method

ab command principle Apache's ab command simu...

JavaScript event loop case study

Event loop in js Because JavaScript is single-thr...

How to import Excel files into MySQL database

This article shares with you how to import Excel ...

Sample code for implementing form validation with pure CSS

In our daily business, form validation is a very ...

Nginx domain name SSL certificate configuration (website http upgraded to https)

Preface HTTP and HTTPS In our daily life, common ...

Detailed examples of the difference between methods watch and computed in Vue.js

Table of contents Preface introduce 1. Mechanism ...

How to use TypeScript in Vue

introduction In recent years, the call for TypeSc...

Website construction experience summary

<br />What principles should be followed to ...

MySQL 8.0.15 installation and configuration tutorial under Win10

What I have been learning recently involves knowl...

Solution to the long delay of MySQL database master-slave replication

Preface The delay of MySQL master-slave replicati...

A brief analysis of how to set the initial value of Linux root

Ubuntu does not allow root login by default, so t...

Using Docker run options to override settings in the Dockerfile

Usually, we first define the Dockerfile file, and...

Example of using @media responsive CSS to adapt to various screens

Definition and Use Using @media queries, you can ...