java - org.hibernate.HibernateException: /hibernate.cfg.xml not found from resources -
    i have new spring-boot project. use gradle build manager , eclpice ide. want use hibernate , try configurations hibernate.cfg.xml file,      org.hibernate.hibernateexception: /hibernate.cfg.xml not found    i store file in resources folder, tried put meta-inf folder.   folders structure:      hibernateutil.java:   public class hibernateutil {  private static  sessionfactory sessionfactory = buildsessionfactory();    private static sessionfactory buildsessionfactory()    {       try       {          if (sessionfactory == null)          {              sessionfactory = new configuration().configure().buildsessionfactory();          }          return sessionfactory;       } catch (throwable ex)       {          system.err.println("initial sessionfactory creation failed." + ex);          throw new exceptionininitializererror(ex);       }  }  public static sessionfactory getsessionfactory() {     return sessionfactory; }  public static void shutdown() {     // close caches , co...