An AnnotationConfiguration instance is required to use <mapping class="jebe7282/study/hibernate/Classes.hbm.xml"/>
这个是mapping 标签配置属性问题class 应该 改为<mapping resource="jebe7282/study/hibernate/Classes.hbm.xml"/>
An AnnotationConfiguration instance is required to use <mapping class="jebe7282/study/hibernate/Classes.hbm.xml"/>
这个是mapping 标签配置属性问题class 应该 改为<mapping resource="jebe7282/study/hibernate/Classes.hbm.xml"/>