hibernate.cfg.xml这个配置文件;从以前项目中copy来的文件,之前一直报错,后来替换了这个文件便好了 转载于:https://www.cnblogs.com/bashala/p/3207741.html