我遵循一个教程用于spring引导,我做的一切都和教程完全一样,我得到了下面的例外
例外
java.lang.RuntimeException: Driver com.mysql.cj.jdbc.Driver claims to not accept jdbcUrl, https://localhost:3306/dcbapp我的application.properties文件
spring.jpa.hibernate.ddl-auto=update
spring.datasource.url=https://localhost:3306/dcbapp
spring.datasource.username=root
spring.datasource.password=1234
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.jpa.show-sql=true发布于 2022-08-28 16:03:56
这个https://localhost:3306/dcbapp是错的。
你必须使用正确的。
jdbc:mysql://localhost:3306/dcbapphttps://stackoverflow.com/questions/73519517
复制相似问题