org.hibernate.HibernateException

/hibernate.cfg.xml not found

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 web1354

  • via Coderanch by naresh pokuri, 7 months ago
    conf/hibernate.cfg.xml not found
  • via Coderanch by kamal krishna bhatt, 7 months ago
    /hibernate.cfg.xml not found
  • via Coderanch by BhanuChandar Challa, 7 months ago
    /hibernate.cfg.xml not found
  • Stack trace

    • org.hibernate.HibernateException: /hibernate.cfg.xml not found at org.hibernate.util.ConfigHelper.getResourceAsStream(ConfigHelper.java:147) at org.hibernate.cfg.Configuration.getConfigurationInputStream(Configuration.java:1405) at org.hibernate.cfg.Configuration.configure(Configuration.java:1427) at org.hibernate.cfg.Configuration.configure(Configuration.java:1414) at org.hibernate.console.ConsoleConfiguration.loadConfigurationXML(ConsoleConfiguration.java:256) at org.hibernate.console.ConsoleConfiguration.configureStandardConfiguration(ConsoleConfiguration.java:479) at org.hibernate.console.ConsoleConfiguration.buildConfiguration(ConsoleConfiguration.java:460) at org.hibernate.console.ConsoleConfiguration.access$0(ConsoleConfiguration.java:441) at org.hibernate.console.ConsoleConfiguration$1.execute(ConsoleConfiguration.java:166) at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:56) at org.hibernate.console.ConsoleConfiguration.buildWith(ConsoleConfiguration.java:158) at org.hibernate.console.ConsoleConfiguration.build(ConsoleConfiguration.java:110) at org.hibernate.eclipse.console.workbench.ConsoleConfigurationWorkbenchAdapter.getChildren(ConsoleConfigurationWorkbenchAdapter.java:38) at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.getChildren(BasicWorkbenchAdapter.java:88) at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.fetchDeferredChildren(BasicWorkbenchAdapter.java:94) at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:207) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)

    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

    Unknown user
    Once, 10 months ago