
问题的记载
130???
这个作者很懒,什么都没留下…
展开
-
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 · 316 阅读 · 0 评论 -
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 · 1675 阅读 · 0 评论 -
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 · 357 阅读 · 0 评论 -
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 · 326 阅读 · 0 评论