cvc-complex-type.2.4.a: Invalid content was found starting with element 'init-param'

后端 未结 3 697
旧巷少年郎
旧巷少年郎 2020-12-03 00:38

This is my web.xml xsd


    

        
3条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-03 01:04

    The order of elements in web.xml matters and in all examples I've come across, the comes after .

    
        spring1
        org.springframework.web.servlet.DispatcherServlet
        
            contextConfigLocation
            /WEB-INF/spring-servlet.xml
        
        1
    
    

提交回复
热议问题