Element ‘beans’ cannot have character [children], because the type’s content type is element-only
这个错误一般是由于xml配置文件中有编码问题(可能是由于从网页拷贝数据到文本导致的编码不一致)。
尝试将出问题的xml中的文本重新输入一遍,一般会解决这种问题。
简单地说就是网上的xml文件不要随便copy,自己敲一遍
Element ‘beans’ cannot have character [children], because the type’s content type is element-only
这个错误一般是由于xml配置文件中有编码问题(可能是由于从网页拷贝数据到文本导致的编码不一致)。
尝试将出问题的xml中的文本重新输入一遍,一般会解决这种问题。
简单地说就是网上的xml文件不要随便copy,自己敲一遍