本月博客排行
年度博客排行
-
第1名
宏天软件 -
第2名
青否云后端云 -
第3名
龙儿筝 - gashero
- wallimn
- vipbooks
- wy_19921005
- benladeng5225
- fantaxy025025
- e_e
- zysnba
- ssydxa219
- sam123456gz
- javashop
- arpenker
- tanling8334
- kaizi1992
- xpenxpen
- xiangjie88
- wiseboyloves
- ranbuijj
- ganxueyun
- sichunli_030
- xyuma
- wangchen.ily
- lemonhandsome
- jh108020
- zxq_2017
- jbosscn
- Xeden
- luxurioust
- zhanjia
- lzyfn123
- forestqqqq
- ajinn
- nychen2000
- wjianwei666
- daizj
- hanbaohong
- 喧嚣求静
- johnsmith9th
- silverend
- kingwell.leng
- lchb139128
- lich0079
- kristy_yy
- jveqi
- java-007
- sunj
- yeluowuhen
最新文章列表
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=" ...