错误:ERROR : The processing instruction target matching "[xX][mM][lL]" is not allowed.异常解释:xml文件不能被解析,一般出现这样的问题在于xml格式上,并且问题多出现在xml文件的头部
解决方式(适用于所有.xml)
将<?xml version="1.0" encoding="UTF-8" ?>
前多余的注释、空格和空行等去掉即可。
要添加依赖属性,不能在xml之前写,因为xml作为头部解析用来告诉解析器一些相关信息。
如hbase-site.xml下,要把以下代码放在文件底部,并且不能拥有两个configuration属性