In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-09 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article mainly introduces "how to solve the problem of Tomcat9 Properties configuration mismatch after Tomcat update". In daily operation, I believe many people have doubts about how to solve the problem of Tomcat9 Properties configuration mismatch after Tomcat update. The editor consulted all kinds of materials and sorted out simple and easy-to-use methods of operation. I hope it will be helpful to answer the question of "how to solve the problem of Tomcat9 Properties configuration mismatch after Tomcat update". Next, please follow the editor to study!
Article catalogue
Preface
1. DOS enters the Tomcat installation directory
Start the Tomcat server (resolve whether to configure environment variables)
Third, solve the problem that Tomcat9w.exe cannot start Tomcat service (Tomcat page reports 404 error)
3.1.Reinstall the Tomcat service service of the system
3.2.Open Tomcat9w.exe to view the latest configuration information
3. Start start of Tomcat9w.exe
Preface
Recently, I was sorting out the SSM framework. In order to let you see the whole process succinctly and intuitively in the tutorial, I updated all the experimental environment of this machine, and encountered this kind of problem at the same time. First of all, if you look at the title, you can see that these kinds of problems belong to the same category in the final analysis, and the solutions are the same. This article addresses the following questions: does Tomcat want to configure environment variables? Why can't my Tomcat9w.exe start the Tomcat service? Why does my Apache Tomcat 9.0 Tomcat9 Properties configuration mismatch after my Apache Tomcat update? Why does my browser type localhost:8080 after my Apache Tomcat starts to report an error?
First of all, if you look at the title, you can see that these kinds of problems belong to the same category in the final analysis, and the solutions are the same. This article aims to solve the following problems:
Does Tomcat want to configure environment variables? Why can't my Tomcat9w.exe start the Tomcat service?
Why does my Apache Tomcat 9.0 Tomcat9 Properties configuration mismatch after my Apache Tomcat update?
Why does my browser type localhost:8080 after my Apache Tomcat starts to report an error?
Note: Tomcat cannot start services through start in Tomcat9w.exe, it can only be started through startup.bat. The test page http://127.0.0.1:8080/ reported a 404 error, but we can still use the Server service in IDE (such as Eclipse) and successfully visit the page in our project. (annoyed for obsessive-compulsive disorder)
We can open the Apache Tomcat 9.0 Tomcat9 Properties configuration page by double-clicking Tomcat9w.exe, and by checking the General and Java interfaces, we find that although our local Apache Tomcat has been updated, the configuration is still the same.
Start the Tomcat server (resolve whether to configure environment variables)
Execute the startup.bat command, and if there is nothing wrong with the local environment (the JDK is configured correctly and the Tomcat server is decompressed correctly), it will correctly show in the DOS window that you have started the service correctly. In the following window, you can see the configuration information automatically matched to the following Tomcat (at the same time, an execution window of the Java program will pop up). If both are available, there is no problem with the running environment of Java and Java, otherwise there will be a prompt and we can modify it according to the prompt. I won't repeat it here.
3.1.Reinstall the Tomcat service service of the system
On the DOS command line, enter the configuration information for the previous version of service.bat remove removal:
3.2.Open Tomcat9w.exe to view the latest configuration information
You can see that the configuration of both General and Java has been updated:
3. Start start of Tomcat9w.exe
You can see that the Tomcat service has started successfully:
At this point, the study on "how to solve the problem of Tomcat9 Properties configuration mismatch after Tomcat update" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
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.