hellostory的专栏

最痛恨看到同一篇文章被无数次转载,而且同一时间被搜索到,更可恨的是它竟然错误百出!!!...

org.hibernate.HibernateException: No Hibernate Session bound to thread, and configuration does not allow creation of non-transac

first of all if you want to use getcurrentSession() method you need to add these properties to HibernateProperties:thre adorg.hibe rnate.transaction....

2011-02-12 14:38:00

阅读数 10175

评论数 1

Failed to load keystore type JKS with path tomcat.keystore due to D:/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tm

<br />现象:使用Eclipse Helios 3.6启动Tomcat出现如下错误:<br />=============================================<br />2011-1-30 10:13:12 org.apache....

2011-01-30 10:20:00

阅读数 13196

评论数 0

Eclipse“警告: 编码 GBK 的不可映射字符”的解决方法

在Eclipse菜单中做如下设置:   project -> Generate javadoc ->按“Next”一步步设置。其中在VM设置中加入以下代码:   -encoding utf-8 -charset utf-8  

2010-12-10 10:04:00

阅读数 8064

评论数 0

WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader).

错误现象:    每次启动Tomcat6.0总会出现如下提示,但不影响Tomcat正常运行。提示如下:    log4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoad...

2010-12-10 09:34:00

阅读数 23255

评论数 2

javax.naming.NameNotFoundException: Name jdbc is not bound in this Context

<br />解决方法:<br />     将applicationContext.xml中的数据源配置:<br /> <bean id="dataSource" class="org.springframework.j...

2010-12-08 11:34:00

阅读数 4552

评论数 1

提示
确定要删除当前文章?
取消 删除