为了账号安全,请及时绑定邮箱和手机立即绑定

关于hibernate运行Junit Test运行报错问题

关于hibernate运行Junit Test运行报错问题

骑车撞大树好疼 2016-04-20 21:23:04
四月 20, 2016 9:16:14 下午 org.hibernate.annotations.common.reflection.java.JavaReflectionManager <clinit>INFO: HCANN000001: Hibernate Commons Annotations {4.0.5.Final}四月 20, 2016 9:16:14 下午 org.hibernate.Version logVersionINFO: HHH000412: Hibernate Core {4.3.11.Final}四月 20, 2016 9:16:14 下午 org.hibernate.cfg.Environment <clinit>INFO: HHH000206: hibernate.properties not found四月 20, 2016 9:16:14 下午 org.hibernate.cfg.Environment buildBytecodeProviderINFO: HHH000021: Bytecode provider name : javassist四月 20, 2016 9:16:14 下午 org.hibernate.cfg.Configuration configureINFO: HHH000043: Configuring from resource: /hibernate.cfg.xml四月 20, 2016 9:16:14 下午 org.hibernate.cfg.Configuration getConfigurationInputStreamINFO: HHH000040: Configuration resource: /hibernate.cfg.xml四月 20, 2016 9:16:14 下午 org.hibernate.internal.util.xml.DTDEntityResolver resolveEntityWARN: HHH000223: Recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!四月 20, 2016 9:16:14 下午 org.hibernate.cfg.Configuration addResourceINFO: HHH000221: Reading mappings from resource: entity/Managers.hbm.xml四月 20, 2016 9:16:14 下午 org.hibernate.cfg.Configuration addResourceINFO: HHH000221: Reading mappings from resource: entity/Cars.hbm.xml四月 20, 2016 9:16:14 下午 org.hibernate.cfg.Configuration doConfigureINFO: HHH000041: Configured SessionFactory: null四月 20, 2016 9:16:14 下午 org.hibernate.engine.jdbc.connections.internal.ConnectionProviderInitiator instantiateExplicitConnectionProviderINFO: HHH000130: Instantiating explicit connection provider: org.hibernate.connection.C3P0ConnectionProvider
查看完整描述

2 回答

?
HansonQ

TA贡献223条经验 获得超56个赞

hibernate.propertie 这个文件没加载到。

查看完整回答
反对 回复 2016-04-23
  • 2 回答
  • 0 关注
  • 2668 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信