org.hibernate.boot.MappingNotFoundException: Mapping (RESOURCE) not found : org/arpit/javapostsforlearning/User.hbm.xml : origin(org/arpit/javapostsforlearning/User.hbm.xml)

Stack Overflow | David J. | 8 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

    Mapping (RESOURCE) not found

    Stack Overflow | 8 months ago | David J.
    org.hibernate.boot.MappingNotFoundException: Mapping (RESOURCE) not found : org/arpit/javapostsforlearning/User.hbm.xml : origin(org/arpit/javapostsforlearning/User.hbm.xml)

    Root Cause Analysis

    1. org.hibernate.boot.MappingNotFoundException

      Mapping (RESOURCE) not found : org/arpit/javapostsforlearning/User.hbm.xml : origin(org/arpit/javapostsforlearning/User.hbm.xml)

      at org.hibernate.boot.spi.XmlMappingBinderAccess.bind()
    2. org.hibernate.boot
      MetadataSources.addClass
      1. org.hibernate.boot.spi.XmlMappingBinderAccess.bind(XmlMappingBinderAccess.java:56)
      2. org.hibernate.boot.MetadataSources.addResource(MetadataSources.java:274)
      3. org.hibernate.boot.MetadataSources.addClass(MetadataSources.java:262)
      3 frames
    3. Hibernate
      Configuration.addClass
      1. org.hibernate.cfg.Configuration.addClass(Configuration.java:513)
      1 frame
    4. org.arpit.javapostsforlearning
      HibernateMain.main
      1. org.arpit.javapostsforlearning.HibernateMain.main(HibernateMain.java:14)
      1 frame