标签:错误 except native code UI 启动报错 ansi 解决办法 server
在运行“maven build”-->“tomcat:run”之后,报如下错误:
com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
......
很有可能是因为你跟我一样安装了mysql 8,改成mysql 5再试试。
标签:错误 except native code UI 启动报错 ansi 解决办法 server
原文地址:https://www.cnblogs.com/zifeiy/p/9143147.html