1.安装hibernate tools
使用eclipse install new soft 地址: http://download.jboss.org/jbosstools/neon/stable/updates/
2.java的日志框架
http://blog.onlycatch.com/post/cfbc30f8d1ba
hibernate5 使用了jboss logging 作为日志输出的接口
如果要使用log4j作为日志输出 要主类里设置下(要去下载log4j的jar)
static
{
System.setProperty("org.jboss.logging.provider", "log4j");
}