启动mycat报错

再win10 启动mycat报错

INFO   | jvm 1    | 2019/09/11 23:23:23 | WrapperSimpleApp: Encountered an error running main: java.lang.ExceptionInInitializerError
INFO   | jvm 1    | 2019/09/11 23:23:23 | java.lang.ExceptionInInitializerError
INFO   | jvm 1    | 2019/09/11 23:23:23 | 	at io.mycat.MycatStartup.main(MycatStartup.java:53)
INFO   | jvm 1    | 2019/09/11 23:23:23 | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO   | jvm 1    | 2019/09/11 23:23:23 | 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
INFO   | jvm 1    | 2019/09/11 23:23:23 | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
INFO   | jvm 1    | 2019/09/11 23:23:23 | 	at java.lang.reflect.Method.invoke(Unknown Source)
INFO   | jvm 1    | 2019/09/11 23:23:23 | 	at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
INFO   | jvm 1    | 2019/09/11 23:23:23 | 	at java.lang.Thread.run(Unknown Source)
INFO   | jvm 1    | 2019/09/11 23:23:23 | Caused by: io.mycat.config.util.ConfigException: com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: 2 字节的 UTF-8 序列的字节 2 无效。
INFO   | jvm 1    | 2019/09/11 23:23:23 | 	at io.mycat.config.loader.xml.XMLSchemaLoader.load(XMLSchemaLoader.java:126)
INFO   | jvm 1    | 2019/09/11 23:23:23 | 	at io.mycat.config.loader.xml.XMLSchemaLoader.(XMLSchemaLoader.java:83)
INFO   | jvm 1    | 2019/09/11 23:23:23 | 	at io.mycat.config.loader.xml.XMLSchemaLoader.(XMLSchemaLoader.java:87)
INFO   | jvm 1    | 2019/09/11 23:23:23 | 	at io.mycat.config.ConfigInitializer.(ConfigInitializer.java:74)
INFO   | jvm 1    | 2019/09/11 23:23:23 | 	at io.mycat.config.MycatConfig.(MycatConfig.java:72)
INFO   | jvm 1    | 2019/09/11 23:23:23 | 	at io.mycat.MycatServer.(MycatServer.java:144)
INFO   | jvm 1    | 2019/09/11 23:23:23 | 	at io.mycat.MycatServer.(MycatServer.java:96)
INFO   | jvm 1    | 2019/09/11 23:23:23 | 	... 7 more
INFO   | jvm 1    | 2019/09/11 23:23:23 | Caused by: com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: 2 字节的 UTF-8 序列的字节 2 无效。
INFO   | jvm 1    | 2019/09/11 23:23:23 | 	at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.invalidByte(Unknown Source)
INFO   | jvm 1    | 2019/09/11 23:23:23 | 	at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.read(Unknown Source)
INFO   | jvm 1    | 2019/09/11 23:23:23 | 	at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(Unknown Source)
INFO   | jvm 1    | 2019/09/11 23:23:23 | 	at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.scanData(Unknown Source)
INFO   | jvm 1    | 2019/09/11 23:23:23 | 	at com.sun.org.apache.xerces.internal.impl.XMLScanner.scanComment(Unknown Source)
INFO   | jvm 1    | 2019/09/11 23:23:23 | 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanComment(Unknown Source)
INFO   | jvm 1    | 2019/09/11 23:23:23 | 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)
INFO   | jvm 1    | 2019/09/11 23:23:23 | 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
INFO   | jvm 1    | 2019/09/11 23:23:23 | 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
INFO   | jvm 1    | 2019/09/11 23:23:23 | 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
INFO   | jvm 1    | 2019/09/11 23:23:23 | 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
INFO   | jvm 1    | 2019/09/11 23:23:23 | 	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
INFO   | jvm 1    | 2019/09/11 23:23:23 | 	at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
INFO   | jvm 1    | 2019/09/11 23:23:23 | 	at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)
INFO   | jvm 1    | 2019/09/11 23:23:23 | 	at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
INFO   | jvm 1    | 2019/09/11 23:23:23 | 	at io.mycat.config.util.ConfigUtil.getDocument(ConfigUtil.java:115)
INFO   | jvm 1    | 2019/09/11 23:23:23 | 	at io.mycat.config.loader.xml.XMLSchemaLoader.load(XMLSchemaLoader.java:116)
INFO   | jvm 1    | 2019/09/11 23:23:23 | 	... 13 more
INFO   | jvm 1    | 2019/09/11 23:23:26 | Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=64M; support was removed in 8.0
STATUS | wrapper  | 2019/09/11 23:23:26 | <-- Wrapper Stopped

解决办法 修改xml 改为utf-8编码

你可能感兴趣的:(error)