This project is not a myeclipse hibernate project. Assuming hibernate 3 capabilites for the configur

旧城等待, 2022-03-01 13:30 292阅读 0赞

编写hibernate核心配置文件hibernate.cfg.xml后,再次打开核心配置文件出现This project is not a myeclipse hibernate project. Assuming hibernate 3 capabilites for the configuration editor提示:

2019032217302044.png

解决方法:

右键项目名称 → Myeclipse → Add Hibernate Capabilites → next → Hibernate Config File → 选择existing → 找到自己编写的核心配置文件hibernate.cfg.xml → next → 选择不生成factory class → end

发表评论

表情:
评论列表 (有 0 条评论,292人围观)

还没有评论,来说两句吧...

相关阅读