org.xmlpull.v1.XmlPullParserException: only 1.0 is supported as <?xml version not '1.1' (position: START_DOCUMENT seen <?xml version=\'1.1\'... @1:19)
at org.xmlpull.mxp1.MXParser.parseXmlDeclWithVersion(MXParser.java:2608)
at org.xmlpull.mxp1.MXParser.parseXmlDecl(MXParser.java:2592)
at org.xmlpull.mxp1.MXParser.parsePI(MXParser.java:2466)
at org.xmlpull.mxp1.MXParser.parseProlog(MXParser.java:1447)
at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1395)
at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093)
at com.thoughtworks.xstream.io.xml.XppReader.pullNextEvent(XppReader.java:109)
Caused: com.thoughtworks.xstream.io.StreamException: : only 1.0 is supported as <?xml version not '1.1' (position: START_DOCUMENT seen <?xml version=\'1.1\'... @1:19)
at com.thoughtworks.xstream.io.xml.XppRea
【Jenkins安装问题】提示:org.xmlpull.v1.XmlPullParserException: only 1.0 is supported as
最新推荐文章于 2022-07-18 17:40:03 发布
在尝试安装Jenkins时遇到了XML解析错误,错误信息指出只支持XML 1.0版本而不是1.1。问题出在config.xml文件,其声明的版本为1.1。修复方法是检查并修改config.xml,确保XML版本声明为1.0。此外,可能需要检查其他相关文件是否也有类似问题并进行修正。
摘要由CSDN通过智能技术生成