为了账号安全,请及时绑定邮箱和手机立即绑定

跟老师的视频一样,为什么注入不到bean呢

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jpaVendorAdapter' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.orm.jpa.JpaVendorAdapter]: Factory method 'jpaVendorAdapter' threw exception; nested exception is java.lang.RuntimeException: Driver com.mysql.jdbc.Driver claims to not accept jdbcUrl, jdbc.mysql://127.0.0.1:3306/lyh

正在回答

1 回答

jdbc:mysql://127.0.0.1:3306/lyh

jdbc:这里写错啦?

0 回复 有任何疑惑可以回复我~
#1

慕瓜阿海 提问者

这个已经解决了,谢谢
2018-09-03 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消
2小时学会Spring Boot
  • 参与学习       151664    人
  • 解答问题       1079    个

Spring Boot入门视频教程,你将学会使用Spring Boot快速构建应用程序

进入课程

跟老师的视频一样,为什么注入不到bean呢

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信