外卖网站那家做的好,ueditor 上传wordpress,自己建立公司网站,自己做网站咋做这个错误是因为#xff1a;没有配置hibernate.cfg.xml中的最后一项 mapping resourceorg/hibernate/first/model/Student.hbm.xml/这个错误是因为#xff1a;在配置hibernate缓存的时候出的错#xff0c;我就把我这个缓存代码删除掉了。代码如下pro… 这个错误是因为没有配置hibernate.cfg.xml中的最后一项 mapping resourceorg/hibernate/first/model/Student.hbm.xml/这个错误是因为在配置hibernate缓存的时候出的错我就把我这个缓存代码删除掉了。代码如下prop keyhibernate.cache.provider_classorg.hibernate.cache.internal.NoCacheProvider/prop这个错误超级低级数据库方言里面应该是MySQLDialect 千万不要写成其他的比如MYSQL什么的。打开hibernate.cfg.xml文件是遇到如下错误的时候解决方法就是项目名上右键--〉myeclipse--add hibernate capabilites --next--hibernate config file -- existing -- end 其中在hibernate config file的地方应该选择你项目里面的 src/hibernate.cfg.xml文件然后next 然后不要new 一个什么SessionFactory类就直接finish就ok了。出现这个问题的原因可能是因为你的数据库里面没有对应的表。 转载于:https://blog.51cto.com/ywj852752270/1266267