org.hibernate.MappingException: Could not read mapping document from file: D:\workspace-hibtools3\Demo\ce\org\hibernate\auction\Bid.hbm.xml

java2s.com | 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

    error « Connection « JPA Q&A

    java2s.com | 6 months ago
    org.hibernate.MappingException: Could not read mapping document from file: D:\workspace-hibtools3\Demo\ce\org\hibernate\auction\Bid.hbm.xml

    Root Cause Analysis

    1. org.hibernate.MappingException

      Could not read mapping document from file: D:\workspace-hibtools3\Demo\ce\org\hibernate\auction\Bid.hbm.xml

      at org.hibernate.cfg.Configuration.addFile()
    2. Hibernate
      Configuration.addFile
      1. org.hibernate.cfg.Configuration.addFile(Configuration.java:264)
      1 frame
    3. A Hibernate O/RM Module
      ExporterTask.configureExporter
      1. org.hibernate.tool.ant.ConfigurationTask.addFile(ConfigurationTask.java:140)
      2. org.hibernate.tool.ant.ConfigurationTask.addMappings(ConfigurationTask.java:123)
      3. org.hibernate.tool.ant.ConfigurationTask.doConfiguration(ConfigurationTask.java:109)
      4. org.hibernate.tool.ant.ConfigurationTask.getConfiguration(ConfigurationTask.java:55)
      5. org.hibernate.tool.ant.HibernateToolTask.getConfiguration(HibernateToolTask.java:180)
      6. org.hibernate.tool.ant.HibernateToolTask.getProperties(HibernateToolTask.java:196)
      7. org.hibernate.tool.ant.ExporterTask.configureExporter(ExporterTask.java:90)
      7 frames