Problem description
A new server template project is built with idea. After Tomcat is configured, the access report 404
is accessed
reason
Tomcat cannot load message 404 because war is not loaded
Solution:
An error occurs because the war artifact of this project is not loaded. You need to import this project as a artifact
and then select war_ Compared with war, the structure of the artifact will be consistent with the source directory for easy development
now the URL is the home page of the artifact by default
access
Read More:
- How to Solve Tomcat Error: Could not resolve view with name ‘xxx/xxxxxxx‘ in servlet with
- [Solved] javax.servlet.ServletException: Servlet[springmvc] Servlet.init()
- [Solved] Javaweb Error: inStream parameter is null
- [Solved] Docker Run Tomcat Error: Cannot find /usr/local/tomcat/bin/setclasspath.sh
- javaweb Connect Datas Error: che.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1444)
- [Solved] Tomcat Error: org.apache.tomcat.util.digester.Digester.fatalError Parse fatal error at line [40] column [36]
- [Solved] Error running ‘tomcat:run‘: Cannot run program “tomcat:run“
- IDEA Import Servlet Package Error [How to Solve]
- Continuous Error 404 in servlet operation [How to Solve]
- [Solved] IDEA2020 Error: Cannot resolve symbol ‘Servlet‘
- The MapReduce program generates a jar package and runs with an error classnotfoundexception
- [Solved] Error creating bean with name ‘org.springframework.web.servlet.handler.SimpleUrlHandlerMapping#0‘:
- [Solved] IntelliJ IDEA Start tomcat Error: Disconnected from server
- [Solved] MultipartException: Failed to parse multipart servlet request; nested exception is java.lang.Runtime
- Tomcat Run Error: Can‘t find catalina.jar [How to Solve]
- [Solved] JAVA Project Import jstl Error: java.lang.NoClassDefFoundError: javax/servlet/jsp/tagext/TagLibraryValidator
- [Solved] Nacos1.3.2 Startup Error: Unable to start embedded Tomcat
- Maven project running servlet jump JSP error: HTTP status 500 – unable to compile class for JSP
- Tomcat cross server upload error 403forbidden [How to Solve]
- [Solved] nacos Startup Error: Unable to start embedded Tomcat