Element 'configuration' cannot have character [children], because the type's content

Element ‘configuration’ cannot have character [children], because the type’s content type is element-only.

原因:

配置文件中的beans节点下面只能是元素节点,不能有字符或者文本存在

比如,多余的标点符号,点,也有可能是空格。

如下报错:
Element 'configuration' cannot have character [children], because the type's content
将图中的注释删除即可
Element 'configuration' cannot have character [children], because the type's content

上一篇:cdn and fallback


下一篇:org.springframework.security.web.firewall.RequestRejectedException: The request was rejected because