I don't know if you have downloaded the latest Tomcat. If you have, if you don't know if you are configured. I accidentally found that the latest Tomcat configuration virtual directory is too easy (other environment variables still have to, I believe that you are already very familiar), you don't have to carefully configure it in server.xml as before, now Don't modify anything at all, add it directly to WebApps, and of course the server is still restarted! I would like to give you all! !