Element ‘aop:config‘ cannot have character [children], because the type‘s content type is element
Element 'Something' cannot have character [children], because the type's content type is element原因:配置文件中的beans节点下面只能是Something元素节点,不能有字符或者文本存在比如,多余的标点符号,点,也有可能是空格。解决方法:将文字内容复制到Notepad等编辑器,转为UTF-8编码格式,并用ANSI编码格式查看,将不在注释内的乱码全部删除,再复制进xml即可...
原创
2020-07-22 15:00:14 ·
1043 阅读 ·
0 评论