cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element

阅读 61

2023-05-07


 http://www.iteye.com/problems/81168

在springmvc的配置文件中,<mvc:default-servlet-handler/>报错,错误信息为cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 

 'mvc:default-servlet-handler',根据http://www.iteye.com/problems/81168中的提示,应该是使用的schema的版本不对,之前我的springmvc配置文件的一部分是

cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element_spring

修改为以下方式就可以了:


cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element_配置文件_02


精彩评论(0)

0 0 举报