【IDEA】出现 Element ‘project‘ cannot have character [children]...错误

问题描述
Element 'project' cannot have character [children], because the type's content type is element-only.
元素 'project' 不能有字符 [children],因为该类型的内容类型是仅元素。

 

我这边是因为多了一行注释没有删除导致

 

解决方案

检查代码,删除多余的代码

posted @ 2023-08-15 16:21  群狼之龙  阅读(1257)  评论(0)    收藏  举报