- 博客(4)
- 问答 (3)
- 收藏
- 关注
原创 spring中关于xml文件中地址的问题
spring中关于 <contexte:property-placeholder 的问题在spring.xml文件中<contexte:property-placeholder location=“JDBCTemplate/jdbc.properties”/>中的location地址不对导致找不到jdbc的配置文件<contexte:property-placeho...
2020-04-23 22:10:53
310
转载 Spring AOP 配置after-returning时异常问题
Spring AOP 配置after-returning时异常问题如果在使用spring aop时想要在方法返回后取得返回值,会出现illegalargument异常,搜索了很多地方但都不是一个问题。当xml配置为<aop:after-returning method=“afterReturning” pointcut-ref=“servicePointcut” />程序可以正...
2020-04-23 21:02:39
1672
原创 spring中无法销毁创建的对象问题
当使用 init-method 和 destroy-method 的时候,使用 prototype 时 Spring 不会负责销毁容器对象,即 Spring 不会调用 destroy-method 所指定的方法,所以需要去掉 scope 属性,使用默认的 singleton<bean id="person" class="exer.Person" scope="prototype" in...
2020-04-22 18:12:12
351
原创 src导入jquery问题
src导入jquery问题在idea中导jquery时,要使用相对路径进行导入,不要使用绝对路径进行导入,不然可能出现导入不成功的情况<script type="text/javascript" src="../../static/script/jquery-1.7.2.js"></script>...
2020-04-05 19:05:57
321
空空如也
springboot模块引入父工程时relativePath报错
2020-05-21
layer.js载入失效,求大神解答
2020-05-12
Idea中的Mybaties中配置文件的mapper无法找到xml文件!
2020-04-29
TA创建的收藏夹 TA关注的收藏夹
TA关注的人