mycat 启动日志出现这个问题? 报错-问答-阿里云开发者社区-阿里云

开发者社区> 问答> 正文

mycat 启动日志出现这个问题? 报错

优选2 2020-06-04 21:18:50 106

mycat 启动日志出现这个问题? 400 报错 OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=64M; support was removed in 8.0
Exception in thread "main" java.lang.ExceptionInInitializerError
        at org.opencloudb.MycatStartup.main(MycatStartup.java:46)
Caused by: org.opencloudb.config.util.ConfigException: org.xml.sax.SAXParseException; lineNumber: 23; columnNumber: 1; XML document structures must start and end within the same entity.
        at org.opencloudb.config.loader.xml.XMLSchemaLoader.load(XMLSchemaLoader.java:112)
        at org.opencloudb.config.loader.xml.XMLSchemaLoader.<init>(XMLSchemaLoader.java:67)
        at org.opencloudb.config.loader.xml.XMLSchemaLoader.<init>(XMLSchemaLoader.java:71)
        at org.opencloudb.ConfigInitializer.<init>(ConfigInitializer.java:63)
        at org.opencloudb.MycatConfig.<init>(MycatConfig.java:69)
        at org.opencloudb.MycatServer.<init>(MycatServer.java:103)
        at org.opencloudb.MycatServer.<clinit>(MycatServer.java:72)
        ... 1 more
Caused by: org.xml.sax.SAXParseException; lineNumber: 23; columnNumber: 1; XML document structures must start and end within the same entity.
        at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203)
        at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177)
        at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:400)
        at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327)
        at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1465)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.endEntity(XMLDocumentFragmentScannerImpl.java:898)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.endEntity(XMLDocumentScannerImpl.java:563)
        at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.endEntity(XMLEntityManager.java:1399)
        at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(XMLEntityScanner.java:1917)
        at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.peekChar(XMLEntityScanner.java:507)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2713)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:504)
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848)
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)
        at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
        at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:243)
        at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:339)
        at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:121)
        at org.opencloudb.config.util.ConfigUtil.getDocument(ConfigUtil.java:114)

分享到
取消 提交回答
全部回答(1)
  • 优选2
    2020-06-05 11:37:49

    XML文件里格式有错误!######

    schema配置文件的问题

    0 0
云计算
使用钉钉扫一扫加入圈子
+ 订阅

时时分享云计算技术内容,助您降低 IT 成本,提升运维效率,使您更专注于核心业务创新。

推荐文章