com.dotmarketing.exception.DotHibernateException: Error setting Query

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Can't start dotcms
    via by Unknown author,
    • com.dotmarketing.exception.DotHibernateException: Error setting Query at com.dotmarketing.db.HibernateUtil.setQuery(HibernateUtil.java:199)[dotcms_3.6.0_3876030.jar:?] at com.dotmarketing.portlets.languagesmanager.business.LanguageFactoryImpl.getLanguage(LanguageFactoryImpl.java:70)[dotcms_3.6.0_3876030.jar:?] at com.dotmarketing.portlets.languagesmanager.business.LanguageFactoryImpl.getDefaultLanguage(LanguageFactoryImpl.java:234)[dotcms_3.6.0_3876030.jar:?] at com.dotmarketing.portlets.languagesmanager.business.LanguageAPIImpl.getDefaultLanguage(LanguageAPIImpl.java:92)[dotcms_3.6.0_3876030.jar:?] at com.dotmarketing.servlets.BinaryExporterServlet.<init>(BinaryExporterServlet.java:97)[dotcms_3.6.0_3876030.jar:?] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[?:1.8.0_73] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)[?:1.8.0_73] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)[?:1.8.0_73] at java.lang.reflect.Constructor.newInstance(Unknown Source)[?:1.8.0_73] at java.lang.Class.newInstance(Unknown Source)[?:1.8.0_73] at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:121)[catalina.jar:8.0.18] at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1095)[catalina.jar:8.0.18] at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1031)[catalina.jar:8.0.18] at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4901)[catalina.jar:8.0.18] at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5188)[catalina.jar:8.0.18] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)[catalina.jar:8.0.18] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)[catalina.jar:8.0.18] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)[catalina.jar:8.0.18] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:714)[catalina.jar:8.0.18] at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:581)[catalina.jar:8.0.18] at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1683)[catalina.jar:8.0.18] at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)[?:1.8.0_73] at java.util.concurrent.FutureTask.run(Unknown Source)[?:1.8.0_73] at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)[?:1.8.0_73] at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)[?:1.8.0_73] at java.lang.Thread.run(Unknown Source)[?:1.8.0_73] Caused by: com.dotmarketing.exception.DotHibernateException: Unable to get Hibernate Session at com.dotmarketing.db.HibernateUtil.getSession(HibernateUtil.java:676)[dotcms_3.6.0_3876030.jar:?] at com.dotmarketing.db.HibernateUtil.setQuery(HibernateUtil.java:195)[dotcms_3.6.0_3876030.jar:?] ... 25 more Caused by: com.dotmarketing.exception.DotHibernateException: Unable to build Session Factory at com.dotmarketing.db.HibernateUtil.buildSessionFactory(HibernateUtil.java:581)[dotcms_3.6.0_3876030.jar:?] at com.dotmarketing.db.HibernateUtil.getSession(HibernateUtil.java:636)[dotcms_3.6.0_3876030.jar:?] ... 26 more Caused by: com.dotcms.repackage.net.sf.hibernate.HibernateException: /hibernate.cfg.xml not found at com.dotcms.repackage.net.sf.hibernate.cfg.Configuration.getConfigurationInputStream(Configuration.java:886)[dot.hibernate-2.1.7_2.jar:?] at com.dotcms.repackage.net.sf.hibernate.cfg.Configuration.configure(Configuration.java:910)[dot.hibernate-2.1.7_2.jar:?] at com.dotcms.repackage.net.sf.hibernate.cfg.Configuration.configure(Configuration.java:897)[dot.hibernate-2.1.7_2.jar:?] at com.dotmarketing.db.HibernateUtil.buildSessionFactory(HibernateUtil.java:542)[dotcms_3.6.0_3876030.jar:?] ... 27 more
    No Bugmate found.