本月博客排行
-
第1名
wy_19921005 -
第2名
mft8899 -
第3名
benladeng5225 - Anmin
- wddpwzzhao123
年度博客排行
-
第1名
龙儿筝 -
第2名
宏天软件 -
第3名
wy_19921005 - benladeng5225
- vipbooks
- kaizi1992
- tanling8334
- sam123456gz
- arpenker
- 青否云后端云
- zysnba
- fantaxy025025
- xiangjie88
- lemonhandsome
- wallimn
- e_e
- ganxueyun
- jh108020
- Xeden
- xyuma
- wangchen.ily
- zhanjia
- johnsmith9th
- zxq_2017
- forestqqqq
- jbosscn
- daizj
- xpenxpen
- 喧嚣求静
- kingwell.leng
- lchb139128
- jveqi
- kristy_yy
- javashop
- lzyfn123
- sunj
- yeluowuhen
- ajinn
- lerf
- silverend
- chenqisdfx
- xiaoxinye
- flashsing123
- lyndon.lin
- bosschen
- zhangjijun
- sunnylocus
- lyj86
- paulwong
- sgqt
最新文章列表
ApplicationContext 配置与使用
首先,在web.xml文件中配置:
<listener>
<listener-class> org.springframework.web.context.ContextLoaderListener
</listener-class>
</listener>
或者:
<servlet>
<servlet-na ...
org.springframework.beans.factory.BeanCreationException
1,问题现象org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlMapClient' defined in ServletContext resource [/WEB-INF/classes/config/applicationContext.xml]: Invocati ...
OpenSessionInViewFilter 配置解决延迟加载
一、手动加载 如:
Hibernate.initialize(obj.getUser());//加载用户对象
二、使用OpenSessionInViewFilter 配置解决延迟加载 如:
<!--OpenSessionInViewFilter 解决延迟加载问题 -->
<filter>
<filter-name>OpenSessionInViewFilter ...
No setter found for property 'templateLoaderPath'
<bean id="freemarderConfig"
class="org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer">
<property name="templateLoaderPath" value=" ...