First of all, my computer is win8 and Tomcat 9 is installed. Because I accidentally clicked something wrong before, tomcat suddenly failed to start, so I planned to uninstall and reinstall. During the reinstallation process, I encountered the following Question:
##一, proceed according to the normal uninstallation process, enter sc delete Tomcat9.0.0 in the command prompt. 0 Click Enter and a popup will pop up
Error reason : is the entered service name, which is the Tomcat9.0.0.0 error above
Solution: Run->services.msc->Right-click Apache Tomcat9, select Properties, and open You can see the service name, mine is Tomcat9
二, re-enter sc delete Tomcat9, click Enter, and ## will pop up
Solution: Run the command prompt as an administrator,
(It should be noted that win7 and other systems (I have not studied the specific systems) are running the one that pops up There is an option to run with administrator privileges under the box, but it is not available in win8! ! The editor also spent a lot of effort to find the correct way to open it in win8. The specific operation of running the command prompt with administrator privileges is as follows: Click the win key on the keyboard to enter the start interface --> Click the downward arrow in the lower left corner of the interface to enter the application interface --> Find in the application interface Command Prompt -->Right-click to see the words Run with administrator privileges. PS: If you often use this function, you can pin it to the "Start" screen
)
Three,
sc delete Tomcat9, click Enter, and a prompt of successful deletion will pop up! ! !
##Four, open the registry editor and delete the tomcat registry. The specific operations are as follows: Run-->regedit-->Edit-->Find tomcat-->Delete file
五
, Close all the messy interfaces opened above, Run->services.msc->Enter the service interface, you can see that there is no Apache Tomcat9...
At this point, tomcat has been uninstalled
The above is the detailed content of Summary of Tomcat uninstallation and problems that arise during the process. For more information, please follow other related articles on the PHP Chinese website!