Problem background
Today, when learning spring MVC, you need to configure the web.xml file, and an error message element web app must be declared appears.
Solution:
<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee
http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd"
version="4.0"
metadata-complete="true">
</web-app>
Read More:
- [Solved] OpenCV ERROR: The minSdk version should not be declared in the android manifest file
- [Solved] RuntimeError: each element in list of batch should be of equal size
- [Solved] springmvc:Error creating bean with name ‘org.springframework.cache.interceptor.CacheInterceptor
- [Solved] Manifest merger failed: android:exported needs to be explicitly specified for element <activity#com
- How to Solve Error: Element ‘dependency’ cannot have character [children], because the type’s content type is element-
- How to Solve Springmvc Error: org.springframework.web.servlet.DispatcherServlet
- [Solved] SpringMVC Error: war exploded: Error during artifact deployment. See server log for details.
- [Solved] error“:“element click intercepted“,“message“:“element click intercepted“
- How to Solve Error: Cannot find the declaration of element ‘beans’.
- Error c4996: ‘getversionexa’: declared rejected [How to Solve]
- [Solved] error: ‘CV_GRAY2BGR’ was not declared in this scope
- [Solved] error: ‘xcb_generic_event_t’ was not declared in this scope
- error: field ‘XXX’ declared as a function [How to Solve]
- [Solved] MIT cheetah make error: ‘ioctl’ was not declared in this scope
- [Solved] Keil error: #101: “name“ has already been declared in the current scope
- [Solved] element-plus Error: Failed to resolve component
- How to Solve Error:‘itoa’ was not declared in this scope
- [How to Solve] Content with element type ‘mapper’ must match
- Chart.js Error: “Canvas is already in use. Chart …must be destroyed before the canvas can be reused”
- [Solved] ORA-21525: attribute number or (collection element at index) string violated its constraints