今天把以前在eclipse中做的一个很简单的hibernate移到myeclipse中后重新导入,测试出现could not load a entity错误 解决:把驱动换新版本就好了。。。 原因:。。。