Errors / exceptions: org.hibernate.InvalidMappingException: Could not parse mapping document solutions from resource com / shore / model / Husband.hbm.xml of

1, error / exception view  

 

Error / Exception Description: Invalid mapping exceptions, can not be resolved mapping document from xxxxx resources

 

2, the solution  

    This exception, under normal circumstances is the package name wrong. We can change it back.

Look error / anomaly of the first line, the final surface will prompt you which profile is wrong. Either hibernate.cfg.xml configuration file error, if xxxxxx.hbm.xml configuration file error.

 

 

 

 

 

 

 

 

 

Original author: DSHORE

Home Author: http://www.cnblogs.com/dshore123/

From the original: https://www.cnblogs.com/dshore123/p/11546575.html

Welcome reproduced, reprinted, be sure to indicate the source. ( If this article helpful, you can click the bottom right corner of the recommendation , or comment, thank you! )

Guess you like

Origin www.cnblogs.com/dshore123/p/11546575.html