异常: An AnnotationConfiguration instance is required to use...
解决方法
private static Configuration configuration = new Configuration ();
改为
private static Configuration configuration = new AnnotationConfiguration();
异常: An AnnotationConfiguration instance is required to use...
解决方法
private static Configuration configuration = new Configuration ();
改为
private static Configuration configuration = new AnnotationConfiguration();