org.hibernate.HibernateException: /hibernate.cfg.xml not found

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Hibernate JIRA by Mike haller, 1 year ago
/hibernate.cfg.xml not found
via Hibernate JIRA by Mike haller, 1 year ago
/hibernate.cfg.xml not found
via Coderanch by nimesh hindocha, 1 year ago
/hibernate.cfg.xml not found
via viralpatel.net by Unknown author, 1 year ago
via java-forums.org by Unknown author, 2 years ago
via Stack Overflow by devger
, 1 year ago
org.hibernate.HibernateException: /hibernate.cfg.xml not found
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)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.