麦穗灬
2021-01-19 19:55java.sql.SQLException: url not set; 无法进行解决
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [com/roncoo/spring/boot/autoconfigure/druid/DruidAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.alibaba.druid.pool.DruidDataSource]: Factory method 'dataSource' threw exception; nested exception is java.lang.RuntimeException: java.sql.SQLException: url not set
错误原因,真的找不到哪里错误了。
- 点赞
- 回答
- 收藏
- 复制链接分享
7条回答
为你推荐
- 连接池:为什么方法结束之后,连接池中所有链接都结束了???
- java
- 5个回答
- springmvc写的注册登陆系统,注册可以,登陆的时候报NO DataSource specified
- spring
- java
- intellij-idea
- tomcat
- 4个回答
- spring配置DataSource问题
- spring
- 0个回答
- struts2+spring2.5+hibernate整合的问题
- struts
- spring
- hibernate
- 0个回答
- java用jdbc.thin模式连接远程Oracle数据库报错,请教原因.
- it技术
- 互联网问答
- IT行业问题
- 计算机技术
- 编程语言问答
- 0个回答
换一换