1. Tomcat service is not openEnter localhost:8080 in the address bar of the browser and press Enter to display the following interface Tomcat service is not open. Enter startup.bat in cmd. Do not close the open tomcat window. 2. Enter the wrong URL pathIf you enter the URL in the browser and it displays 404, it may be that the entered path does not exist or the entered path is incorrect. 3. Java JDK environment variables are not setWhen entering startup.bat in cmd, an error is reported. As shown: Solution: This is because the environment variable name of the Java jdk is not set correctly. The variable name for setting the jdk path must be JAVA_HOME . Find the system variable interface and change the incorrect jdk variable name. After the change: After the change, reopen cmd and enter startup.bat to start normally. 4. Repeatedly enable the serviceThe service has been enabled and does not need to be enabled again. 5. Port is occupiedAccess Error occurs when accessing via the web page, and the port is occupied Open cmd and enter the command: delete the process occupying the port number you specified
This is the end of this article about the problems that may arise after installing tomcat. For more information about installing tomcat, 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 use and difference between relative and absolute in HTML
>>: Example code for implementing complex table headers in html table
AWS - Amazon's cloud computing service platfo...
Table of contents Preface Motivation for Fragment...
For what I am going to write today, the program r...
This article describes MySQL index coverage with ...
<button> tag <br />Definition and usag...
Official Website https://cli.vuejs.org/en/guide/ ...
This article describes how to use docker to deplo...
1. Installation and use First, install it in your...
Basics 1. Use scaffolding to create a project and...
Table of contents 1. Virtual Host 1.1 Virtual Hos...
This article introduces a tutorial about how to u...
1. js will not protect hasOwnProperty from being ...
Question Guide 1. How does Hadoop 3.x tolerate fa...
MySQL 5.7.17 installation and configuration metho...
This article is just to commemorate those CSS que...