讲师回答 / 翔仔
同学好一般这种错误只看caused by 附近Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder 'jdbc.url' in value "${jdbc.url}"请参照源码解决,主要看dao配置部分还有怎么调用application.properties里面关于jdbc配置部分https://gitee.com/xiangze/areadisplayhttps://gitee.com/xiangze/d...
2018-07-11
最新回答 / 咧嘴小丑
已经解决了。是因为我的ComboPooledDataSource包的版本问题改为下面的就好了
<dependency> <groupId>com.mchange</groupId> <artifactId>c3p0</artifactId> <version>0.9.5.2</version> </dependency>
2018-07-10
最赞回答 / 慕雪0411612
找到spring-test.jar,试试SpringRunner.class能不能打开,不行的话就把本地仓库对应的spring-test删掉重新下。我的是这么解决的。
2018-07-09
最赞回答 / 慕瓜9187940
这是JDBC连接超时,你看看是不是数据库服务没开启/防火墙是否关闭(或者防火墙打开而没打开数据库连接端口);再则,看看配置文件数据库url、driver、user、password
2018-07-06
最新回答 / 慕村9107202
找到原因了,原来是mapper里面的AreaDao的update方法中
<if test="PRIORITY != null">PRIORITY = #{priority},</if>之前是这么写的,
改成<if test="priority != null">PRIORITY = #{priority},</if>就行了
2018-07-03