Spring v3 no declaration can be found for element 'mvc:resources'

后端 未结 5 1079
广开言路
广开言路 2020-12-01 14:23

Currently Running

Tomcat: v6

Spring Tools Suite: v2.7.2

Spring Framework: spring-webmvc-3.0.5

Servlet XML

 

        
5条回答
  •  暖寄归人
    2020-12-01 14:31

    In your spring context xml mvc namespace url should match url in schemaLocation. Something like this:

    
    
    

    This is a standard XML namespace declaration. The namespace url is sort of an unique id, which is then mapped to the actual schema location in xsi:schemaLocation.

提交回复
热议问题