异常
iXinRu
这个作者很懒,什么都没留下…
展开
-
java.sql.SQLException: Connections could not be acquired from the underlying database!
使用C3P0访问数据库的时候会出现这样的异常,大部分情况下是因为c3p0-config.xml里面有错误。基本是因为properties元素后面内容没有全部小写。基本百度一下就可以解决。 我今天这个问题就比较奇葩,因为学习的时候使用的是eclipse,创建的是web项目。所以习惯把c3p0-config.xml文件直接放在src下面。 但是使用web项目过程中发...原创 2018-09-11 13:02:55 · 5886 阅读 · 4 评论 -
启动springboot报异常:org.springframework.beans.factory.UnsatisfiedDependencyException
我是在feignClient里面的坑,org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name '*****': Unsatisfied dependency expressed through field....在方法里面@RequestParam Str...原创 2019-01-03 10:32:59 · 4057 阅读 · 0 评论