[问题简述] Anolis8.6 x86_64 anck环境,dubbo 兼容性验证,当"启动服务端"时, 报错:[ERROR] 1 problem was encountered while building the effective settings 验证参考官方: https://openanolis.cn/sig/third_software_compatibility/doc/401010062515601732 [报错信息] [root@8-6-anck dubbo-benchmark]# ./benchmark.sh dubbo-kryo-server [ERROR] Error executing Maven. [ERROR] 1 problem was encountered while building the effective settings [FATAL] Non-parseable settings /root/.m2/settings.xml: processing instruction can not have PITarget with reserved xml name (position: START_DOCUMENT seen <?xml ... @1:8) @ /root/.m2/settings.xml, line 1, column 8 [环境信息] [root@8-6-anck dubbo-benchmark]# rpm -q maven maven-3.5.4-5.module+an8.6.0+10700+b98e6785.noarch [root@8-6-anck dubbo-benchmark]# [root@8-6-anck dubbo-benchmark]# cat /etc/os-release NAME="Anolis OS" VERSION="8.6" ID="anolis" ID_LIKE="rhel fedora centos" VERSION_ID="8.6" PLATFORM_ID="platform:an8" PRETTY_NAME="Anolis OS 8.6" ANSI_COLOR="0;31" HOME_URL="https://openanolis.cn/" [root@8-6-anck dubbo-benchmark]# [root@8-6-anck dubbo-benchmark]# cat /etc/redhat-release Anolis OS release 8.6 [root@8-6-anck dubbo-benchmark]# [root@8-6-anck dubbo-benchmark]# uname -r 4.19.91-26.an8.x86_64 [复现步骤] #安装 maven, git 等, 并配置 maven 从国内镜像源下载数据。 yum install -y maven git mkdir -p ~/.m2 cat << EOF > ~/.m2/settings.xml <?xml version="1.0" encoding="UTF-8"?> <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 https://maven.apache.org/xsd/settings-1.0.0.xsd"> <localRepository /> <interactiveMode /> <offline /> <pluginGroups /> <servers /> <mirrors> <mirror> <id>aliyunmaven</id> <mirrorOf>central</mirrorOf> <name>aliyun maven</name> <url>https://maven.aliyun.com/repository/public</url> </mirror> </mirrors> <proxies /> <profiles /> <activeProfiles /> </settings> EOF #下载 benchmark 仓库 git clone https://github.com/apache/dubbo-benchmark.git cd dubbo-benchmark #测试 #启动服务端 ./benchmark.sh dubbo-kryo-server #此处报错