mycat 启动日志出现这个问题

发布于 2021-12-01 12:07:31 字数 4080 浏览 888 评论 2

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)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

简单气质女生网名 2021-12-03 06:19:49
schema配置文件的问题
筱武穆 2021-12-03 04:24:34

XML文件里格式有错误!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文