开发者社区 问答 正文

hibernate4获取sessionfactory报错,看下 ?报错

hibernate4获取sessionfactory报错,看下,求大神?图片说明

展开
收起
爱吃鱼的程序员 2020-06-24 13:20:27 391 分享 版权
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    cfg.configure()和上一个放在一行试试,
    cfg=newconfiguration().configure()

    2020-06-24 13:20:43
    赞同 展开评论