spring独立的util模式,用于list、set等集合

jk9hmnmh  于 2021-07-24  发布在  Java
关注(0)|答案(0)|浏览(142)

我正在使用spring工具套件演示list、set、map等集合的独立util模式,但在使用标记时出现了一个错误
util:list</util:list>
cvc complex type.2.4.c:匹配的通配符是严格的,但找不到元素“”的声明util:list'. 我已经包括了util schema,在网上,我发现我需要导入spring安全依赖项,但它仍然给出了相同的错误。

<beans xmlns="http://www.springframework.org/schema/beans"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:context="http://springframework.org/schema/context"
    xmlns:p="http://springframework.org/schema/p"
    xmlns:util="http://springframework.org/schema/util"
    xmlns:c="http://springframework.org/schema/c"
    xmlns:beans="http://www.springframework.org/schema/beans"
    xsi:schemaLocation="http://www.springframework.org/schema/beans
        https://www.springframework.org/schema/beans/spring-beans.xsd
        https://www.springframework.org/schema/context
        https://www.springframework.org/schema/context/spring-context.xsd
           http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
             http://www.springframework.org/schema/context/spring-context-3.1.xsd
 http://www.springframework.org/schema/util 
 http://www.springframework.org/schema/util/springutil.xsd
 http://www.springframework.org/schema/security 
 https://www.springframework.org/schema/security/spring-security.xsd
             ">

任何帮助都将不胜感激

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题