The tomcat program in my local environment has no problem. Double-click startup, and then access localhost:8080. However, when I integrate Tomcat into IDEA, TOMCAT is normally started, and I access localhost:8080, and error 404 is reported. My configuration is as follows;

Searched the answer on the Internet, the answer five law eight. The host tag in tomcat sever. XML is appBase=”webapps”. It didn’t work out.

Was anxious, finally saw someone said the point.

The ROOT folder of webApp in tomcat installation directory is configured in idea. The application context is /.

Blog.csdn.net/u012461090/…