【问题标题】:i got stuck with my standalone hibernate project i am getting this error pls help me [duplicate]我被我的独立休眠项目卡住了我收到这个错误请帮助我[重复]
【发布时间】:2016-02-11 23:31:07
【问题描述】:

我被我的独立休眠项目卡住了。我收到此错误

Nov 10, 2015 4:24:55 PM org.hibernate.cfg.Configuration configure
INFO: HHH000043: Configuring from resource: /hibernate.cfg.xml
Nov 10, 2015 4:24:55 PM org.hibernate.cfg.Configuration getConfigurationInputStream
INFO: HHH000040: Configuration resource: /hibernate.cfg.xml
Exception in thread "main" org.hibernate.HibernateException: /hibernate.cfg.xml not found

【问题讨论】:

    标签: java hibernate


    【解决方案1】:

    异常说明了一切,它找不到 hibernate.cfg.xml 文件。该文件需要在某个地方的类路径中。

    【讨论】:

      猜你喜欢
      • 2022-10-07
      • 2022-06-17
      • 2016-12-28
      • 1970-01-01
      • 2013-09-14
      • 2014-12-23
      • 2016-05-02
      • 2018-04-17
      • 2023-04-10
      相关资源
      最近更新 更多