In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article is to share with you about the problems that may occur after the installation of tomcat, the editor thinks it is very practical, so I share it with you to learn. I hope you can get something after reading this article.
1. No tomcat service is enabled
Enter localhost:8080 in the browser's address bar and enter enter and the following interface appears
Tomcat does not have a service. Enter startup.bat in cmd. Do not close the open tomcat window.
two。 Input url path error
Enter url to display 404 in the browser, either the path entered does not exist or the wrong path is entered.
3. The Java JDK environment variable is not set properly
An error was reported when cmd entered startup.bat.
As shown in the figure:
Solution:
This is the environment variable name setting of Java jdk is not standard, the path setting variable name of jdk must be JAVA_HOME.
Find the system variables interface and change the wrong jdk variable name.
After the change: after the modification, reopen cmd and type startup.bat to start normally.
4. Repeatedly activate the service
The service has been enabled and does not need to be opened repeatedly.
5. Port occupied
An Access Error error occurred when accessing the web page, and the port was occupied
Open cmd to enter instructions: delete the process that occupies the port number you specified
Netstat-ano: view all port information
Netstat ano | findstr "8080": view port 8080 occupancy information
Tasklist: view all processes
Tasklist | findstr "1": view a process
Taskkill / f / pid process number: delete a process number
These are the problems that may occur after installing tomcat. The editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.