Hibernate运行之后,控制台提示以上错误,hibernate服务接口异常,可能是配置出错。
检查发现,自己的hibernate.cfg.xml文件中 hibernate.connection.provider_class属性中单词写错。应为org.hibernate.service.jdbc.connections.internal.C3P0ConnectionProvider。
更改后运行成功。
Hibernate运行之后,控制台提示以上错误,hibernate服务接口异常,可能是配置出错。
检查发现,自己的hibernate.cfg.xml文件中 hibernate.connection.provider_class属性中单词写错。应为org.hibernate.service.jdbc.connections.internal.C3P0ConnectionProvider。
更改后运行成功。