code: private static void setupBindInfoPackage() {
  		String nsuri = "http://www.hibernate.org/xsd/orm/hbm";
  		String packageInfoClassName = "org.hibernate.boot.jaxb.hbm.spi.package-info";
  		try {
  			final Class<?> packageInfoClass = Class
  					.forName(packageInfoClassName);
  			final XmlSchema xmlSchema = packageInfoClass
  					.getAnnotation(XmlSchema.class);
  			if (xmlSchema == null) {
  				LOG.warn(MessageFormat.format(
  						"Class [{0}] is missing the [{1}] annotation. Processing bindings will probably fail.",
  						packageInfoClassName, XmlSchema.class.getName()));
  			} else {
  				final String namespace = xmlSchema.namespace();
  				if (nsuri.equals(namespace)) {
  					LOG.warn(MessageFormat.format(
  							"Namespace of the [{0}] annotation does not match [{1}]. Processing bindings will probably fail.",
  							XmlSchema.class.getName(), nsuri));
  				}
  			}
  		} catch (ClassNotFoundException cnfex) {
  			LOG.warn(MessageFormat.format(
  					"Class [{0}] could not be found. Processing bindings will probably fail.",
  					packageInfoClassName), cnfex);
  		}
  	}
docs: workaround for hibernate bug from a comment of https://hibernate.atlassian.net/browse/HHH-12893
  (JAXB exception using SchemaExport with Envers and Java 9+)