今天在spring-servlet.xml文件中出现了一个莫名其妙的错误:Element 'beans' cannot have character [children], because the type's content type is element-only.

调试半天无果,最后在Google上搜到了一个解决办法,就是自动调整xml文件的格式

使用快捷键ctrl+shift+F自动调整格式,我的错误应该就是有个未知的地方存在语法格式错误!

相关文章:

  • 2022-12-23
  • 2021-08-29
  • 2021-07-02
  • 2022-12-23
  • 2022-12-23
  • 2022-02-01
  • 2022-12-23
猜你喜欢
  • 2021-11-14
  • 2021-09-12
  • 2022-01-15
  • 2022-12-23
  • 2022-12-23
  • 2021-04-14
相关资源
相似解决方案