Element 'plugin' cannot have character [children], because the type's content type is element-only 原因是你复制的时候,带了一些特殊符号。 解决方案: 将那一串代码复制到notpad++ 或者文本上面,再复制到你的编译器里面,就可以解决问题了