[ERROR] Failed to execute goal on project SSM01: Could not resolve dependencies for project com.cailikun:SSM01:war:0.0.1-SNAPSHOT: Failed to collect dependencies at mysql:mysql-connector-java:jar:6.0.3: Failed to read artifact descriptor for mysql:mysql-connector-java:jar:6.0.3: Could not transfer artifact mysql:mysql-connector-java:pom:6.0.3 from/to central (https://repo.maven.apache.org/maven2): repo.maven.apache.org: Unknown host repo.maven.apache.org -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
你本地库,那个jar包缺失吧!,网络不好时,maven经常jar包缺失
你配置一个第三方仓库吧,比如来源中国的,
检查你的Tomcat/lib/目录下是否有mysql-connector-java-xxx.jar文件。应该是该文件丢失或没有