今天用myeclipse导入 一个项目出现后出现cvc-complex-type.2.4.a: Invalid content was found starting with element 'inf...的错误。

后来在网上找了很多,有说是把报红叉的代码写在<jsp-config></jsp-config>之间,试了之后发现完全没用。

后来在外文网站上找到了一个方法就把问题解决了

解决办法:

“http://www.springmodules.org/schema/cache/springmodules-cache.xsd http://www.springmodules.org/schema/cache/springmodules-ehcache.xsd”

这段代码加入到xml文件的"xmlns:xsi="的标签中。

注意,是"xmlns:xsi="标签中。

转载于:https://www.cnblogs.com/wzs5800/p/8337290.html

解决cvc-complex-type.2.4.a: Invalid content was found starting with element相关推荐

  1. 解决XML中报“cvc-complex-type.2.4.a: Invalid content was found starting with element ”错误

    解决方案:在xml的头web-app中xmlns:xsi属性添加"http://www.springmodules.org/schema/cache/springmodules-cache. ...

  2. Invalid content was found starting with element ‘{“http://maven.apache.org/POM/4.0.0“:dependency}‘.

    在maven项目中运行时出现如下错误: 点击上面的项目名,点击链接进入到报错的文件中 一般这种报错就是你的 Invalid content was found starting with elemen ...

  3. Invalid content was found starting with element ‘{“http://xmlns.jcp.org/xml/ns/javaee“:init-param}‘.

    Invalid content was found starting with element '{"http://xmlns.jcp.org/xml/ns/javaee":ini ...

  4. 完美解决微信js-sdk在IOS系统报invalid signature的问题

    完美解决微信js-sdk在IOS系统报invalid signature的问题 作者原创,转载注明出处 一.解决方案 先说结论再说过程: (一)npm i jweixin-1.6.0 .系本人优化封装 ...

  5. 【记录】解决uni-app 用nginx反向代理出现Invalid Host header问题

    [记录]解决uni-app 用nginx反向代理出现Invalid Host header问题 参考文章: (1)[记录]解决uni-app 用nginx反向代理出现Invalid Host head ...

  6. 成功解决TypeError: data type ‘category‘ not understood

    成功解决TypeError: data type 'category' not understood 目录 解决问题 解决思路 解决方法 解决问题 TypeError: data type 'cate ...

  7. 成功解决TypeError: unhashable type: 'numpy.ndarray'

    成功解决TypeError: unhashable type: 'numpy.ndarray' 目录 解决问题 解决思路 解决方法 解决问题 TypeError: unhashable type: ' ...

  8. python pip install syntaxerror_解决pip install xxx报错SyntaxError: invalid syntax的问题

    python--pip install xxx报错SyntaxError: invalid syntax 在安装好python后,进入python运行环境后,因为我要用pip安装开发Web App需要 ...

  9. 解决insmod error inserting 'hello ko' -1 Invalid module form

    实现 功能:在PC的LINUX实现驱动测试,不用在2440上测试 解决insmod: error inserting 'hello.ko': -1 Invalid module format 第一次写 ...

最新文章

  1. mysql存储过程编写
  2. php 查询方法all,获取多条:all静态方法
  3. react学习(54)--注意传递请求
  4. 计算机组装与维修案例分析,设备故障维修案例分析三则
  5. 再获绿色等级5A称号!揭开腾讯数据中心节能环保黑科技
  6. 字符串查找字符出现次数_查找字符串作为子序列出现的次数
  7. linux一级常用目录,小蚂蚁学习Linux(3)——Linux一级目录说明和常用命令解释...
  8. “驱动能力”是什么意思???
  9. centos7 python2升级为python3,并且重新配置yum
  10. linux命令行工具大全,七款极为实用的Linux命令行工具
  11. 2021-08-23
  12. anjuta调试caffe
  13. 一位业余爱好者花两年时间完成的STM32H7掌上电脑(软硬件开源)
  14. [Wondgirl]从零开始学React Native之Text(五)
  15. mysql show-warnings_MySQL-show warnings
  16. 443端口与80端口的区别
  17. 3-4课:各种花式编程语言大放送
  18. 基于JQuery实现前端页面表单中省市区的选择并存入数据库JQuery+MySQL+Jfinal
  19. Vue-自定义tab组件v-model
  20. Kubernetes 的 CI/CD 管道概述

热门文章

  1. Python(Dict和Set类型)
  2. 关于《关于一道C#上机题的一点想法》
  3. 论jquery与vuejs结合时的部分问题
  4. apache添加ssl协议实现用户认证
  5. 【转】【C#】无边框窗体移动的三种方法
  6. base64加密解密实现方法
  7. ActivityIndicator(菊花)的用法
  8. 修正STM32F103ZE的散列文件
  9. 【JOURNAL】搭配/ IKEA Match
  10. Microsoft Enterprise Library 4.0 for Visual Studio 2008