- 博客(11)
- 收藏
- 关注
原创 异常
Caused by: java.lang.ClassNotFoundException: org.springframework.cache.transaction.AbstractTransactionSupportingCacheManager 缺少Spring-context-supper.
2018-12-20 10:15:46
233
转载 OScache
<!-- <cacheModel type="OSCACHE" id="RecordCache" readOnly="false" serialize="true"> -->
2018-12-18 11:26:12
190
原创 ehcahe
参考文档https://www.cnblogs.com/mxmbk/articles/5162813.html添加命名空间 xmlns:cache="http://www.springframework.org/schema/cache"和xsd http://www.springframework.org/schema/cache http://www.springframework....
2018-12-18 11:14:50
248
原创 Spring整合 Log4j xml
log4jConfigLocation classpath:log4J.xml org.springframework.web.util.Log4jConfigListener 2 路径问题 :\apache-tomcat-6.0.29\bin\logs 默认路径如果写到磁盘:win 下为 E:/ezLog/debug1217.log(例子)...
2018-12-17 15:28:17
830
1
转载 log4.xml
1.参考百度知道root的作用是收集下面所有反馈上来的信息流并根据配置在root中appender进行输出,只要你在looger中配置了additivity=“false”,就不会反馈到root中。...
2018-12-17 11:04:01
226
原创 slf4J
编写log4j.properties文件log4j.rootLogger = info,stdout,loglog4j.appender.stdout = org.apache.log4j.ConsoleAppenderlog4j.appender.stdout.layout = org.apache.log4j.PatternLayoutlog4j.appender.stdout.l...
2018-12-14 16:19:26
98
转载 注解详解
这些都是通过指定扫描的基包路径来进行的,将他们扫描进spring的bean容器。注意 context:component-scan 也会默认将 AutowiredAnnotationBeanPostProcessor,CommonAnnotationBeanPostProcessor 配置进来。所以context:annotation-config/是可以省略的。另外context:compone...
2018-12-11 17:11:57
118
原创 Spring 常用命令
aop:aspectj-autoproxy/ 在配置文件中开启注解的AOP的开发(注解方式开发AOP使用,不使用扫描的时候可用)<context:property-placeholder location=“classpath:jdbc.properties”/> 引入属性文件<tx:annotation-driven transaction-manager=“transa...
2018-12-10 15:56:51
310
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人