- 博客(1)
- 资源 (13)
- 收藏
- 关注
原创 Mapping directory location [ServletContext resource [/User.hbm.xml]] does not de
Mapping directory location [ServletContext resource [/User.hbm.xml]] does not denote a directory 解决办法:1、检查配置sessionFactory时,是否有一个property为mappingDirectoryLocations,如果有,将其改为mappingResources。 ...
2012-07-18 18:02:34 400
java多线程Thread Runnable
ava中实现多线程有两种途径:继承Thread类或者实现Runnable接口。Runnable是接口,建议用接口的方式生成线程,因为接口可以实现多继承,况且Runnable只有一个run方法,很适合继承。在使用Thread的时候只需继承Thread,并且new一个实例出来,调用start()方法即可以启动一个线程
2010-06-05
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人