【Java】mvn 引 Cannot resolve mysql:mysql-connector-java:8.0.18
回答
把 maven 的 mysql 依赖改成下面这个试试
<dependency> <groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>8.0.18</version>
<scope>runtime</scope>
</dependency>
以上是 【Java】mvn 引 Cannot resolve mysql:mysql-connector-java:8.0.18 的全部内容, 来源链接: utcz.com/a/87237.html