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

hibernate.org | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Hibernate Community • View topic - /hibernate.cfg.xml not found

    hibernate.org | 6 months ago
    org.hibernate.HibernateException: /hibernate.cfg.xml not found
  2. 0

    hibernate.cfg.xml not found

    Stack Overflow | 5 years ago | greenLizard
    java.lang.ExceptionInInitializerError
  3. 0

    The Digital Voice: Eclipse/Java: Using Hibernate for Data Access

    blogspot.com | 10 months ago
    org.hibernate.HibernateException: /hibernate.cfg.xml not found
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.hibernate.HibernateException

      /hibernate.cfg.xml not found

      at org.hibernate.util.ConfigHelper.getResourceAsStream()
    2. Hibernate
      ConfigHelper.getResourceAsStream
      1. org.hibernate.util.ConfigHelper.getResourceAsStream(ConfigHelper.java:147)
      1 frame
    3. Hibernate
      Configuration.configure
      1. org.hibernate.cfg.Configuration.getConfigurationInputStream(Configuration.java:1405)
      2. org.hibernate.cfg.Configuration.configure(Configuration.java:1427)
      3. org.hibernate.cfg.Configuration.configure(Configuration.java:1414)
      3 frames
    4. com.sp.creditmodel
      UserAuthenticationModule.login
      1. com.sp.creditmodel.servicelocator.ServiceLocator.getSessionFactory(ServiceLocator.java:139)
      2. com.sp.creditmodel.dao.BaseDAO.getSessionFactory(BaseDAO.java:32)
      3. com.sp.creditmodel.dao.AuthDAO.getSubscriberUsers(AuthDAO.java:53)
      4. com.sp.creditmodel.auth.modules.AuthQuery.login(AuthQuery.java:66)
      5. com.sp.creditmodel.auth.modules.UserAuthenticationModule.login(UserAuthenticationModule.java:229)
      5 frames
    5. Java RT
      LoginContext.login
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      5. javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
      6. javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
      7. javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
      8. java.security.AccessController.doPrivileged(Native Method)
      9. javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
      10. javax.security.auth.login.LoginContext.login(LoginContext.java:579)
      10 frames
    6. com.sp.creditmodel
      LoginAction.execute
      1. com.sp.creditmodel.bo.LoginManager.login(LoginManager.java:42)
      2. com.sp.creditmodel.session.ScoringSessionBean.authenticate(ScoringSessionBean.java:241)
      3. com.sp.creditmodel.session.singleScoringSession_zoyu2_EOImpl.authenticate(singleScoringSession_zoyu2_EOImpl.java:1542)
      4. com.sp.creditmodel.delegate.CMDelegate.authenticate(CMDelegate.java:233)
      5. com.sp.creditmodel.action.LoginAction.execute(LoginAction.java:114)
      5 frames
    7. struts
      ActionServlet.doPost
      1. org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:413)
      2. org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:225)
      3. org.apache.struts.action.ActionServlet.process(ActionServlet.java:1858)
      4. org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:459)
      4 frames
    8. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
      2 frames
    9. Atmosphere weblogic
      WebAppServletContext$ServletInvocationAction.run
      1. weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      2. weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      3. weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
      4. weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
      5. weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3244)
      5 frames
    10. weblogic.security.acl
      AuthenticatedSubject.doAs
      1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      1 frame
    11. weblogic.security.service
      SecurityManager.runAs
      1. weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
      1 frame
    12. Atmosphere weblogic
      ServletRequestImpl.run
      1. weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2010)
      2. weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1916)
      3. weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
      3 frames
    13. weblogic.work
      ExecuteThread.run
      1. weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
      2. weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
      2 frames