hibernate报An AnnotationConfiguration instance is required to use 已解决
原因hibernate的核心配置文件是: 在官网cp的时候要注意,这个地方很容易写成class