首页 > 代码库 > cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'mongo:mongo-client'.

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

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

 ‘mongo:mongo-client‘.

mongodb整合springMVC配置的时候,可能会遇到这样的问题,

技术分享

这里我目前想到的办法是,把版本号去掉,当然这个的前提是,把该导入的命名空间导入!

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