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

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

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

  1. <beans xmlns="http://www.springframework.org/schema/beans"
  2. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xmlns:context="http://springframework.org/schema/context"
  4. xmlns:p="http://springframework.org/schema/p"
  5. xmlns:util="http://springframework.org/schema/util"
  6. xmlns:c="http://springframework.org/schema/c"
  7. xmlns:beans="http://www.springframework.org/schema/beans"
  8. xsi:schemaLocation="http://www.springframework.org/schema/beans
  9. https://www.springframework.org/schema/beans/spring-beans.xsd
  10. https://www.springframework.org/schema/context
  11. https://www.springframework.org/schema/context/spring-context.xsd
  12. http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
  13. http://www.springframework.org/schema/context/spring-context-3.1.xsd
  14. http://www.springframework.org/schema/util
  15. http://www.springframework.org/schema/util/springutil.xsd
  16. http://www.springframework.org/schema/security
  17. https://www.springframework.org/schema/security/spring-security.xsd
  18. ">

任何帮助都将不胜感激

暂无答案!

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

相关问题