org.hibernate.internal.util.config.ConfigurationException

Could not locate cfg.xml resource [src/main/resources/Hibernate.cfg.xml]

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web27

  • via Stack Overflow by Niteen Kitture
    , 5 months ago
    Could not locate cfg.xml resource [src/main/resources/Hibernate.cfg.xml]
  • via Stack Overflow by Samih3
    , 1 year ago
    Could not locate cfg.xml resource [src/hibernate.cfg.xml]
  • Could not locate cfg.xml resource [/HibernateTest/src/hibernate.cfg.xml]
  • Stack trace

    • org.hibernate.internal.util.config.ConfigurationException: Could not locate cfg.xml resource [src/main/resources/Hibernate.cfg.xml] at org.hibernate.boot.cfgxml.internal.ConfigLoader.loadConfigXmlResource(ConfigLoader.java:53) at org.hibernate.boot.registry.StandardServiceRegistryBuilder.configure(StandardServiceRegistryBuilder.java:163) at org.hibernate.cfg.Configuration.configure(Configuration.java:258) at com.hibernate.first_maven_hibernate.App.main(App.java:25)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 4 months ago
    Unknown user
    2 times, 10 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    7 more bugmates