问答详情
源自:1-11 通过Hibernate API编写访问数据库的代码

为什么有这个错误啊!!!救命啊!!!

九月 17, 2016 2:09:16 下午 org.hibernate.annotations.common.Version <clinit>

INFO: HCANN000001: Hibernate Commons Annotations {4.0.2.Final}

九月 17, 2016 2:09:16 下午 org.hibernate.Version logVersion

INFO: HHH000412: Hibernate Core {4.2.4.Final}

九月 17, 2016 2:09:16 下午 org.hibernate.cfg.Environment <clinit>

INFO: HHH000206: hibernate.properties not found

九月 17, 2016 2:09:16 下午 org.hibernate.cfg.Environment buildBytecodeProvider

INFO: HHH000021: Bytecode provider name : javassist

九月 17, 2016 2:09:16 下午 org.hibernate.cfg.Configuration configure

INFO: HHH000043: Configuring from resource: /hibernate.cfg.xml

九月 17, 2016 2:09:16 下午 org.hibernate.cfg.Configuration getConfigurationInputStream

INFO: HHH000040: Configuration resource: /hibernate.cfg.xml

九月 17, 2016 2:09:16 下午 org.hibernate.internal.util.xml.DTDEntityResolver resolveEntity

WARN: HHH000223: Recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!


提问者:慕仰4084179 2016-09-17 14:15

个回答

  • 追时间的人
    2016-09-25 20:42:29

    我也遇到这个问题了

    你们的问题解决没有?

  • 不停地追逐
    2016-09-22 17:29:34

    你把你的hibernate贴出来看看

  • 不停地追逐
    2016-09-18 17:19:58

    是不是你hibernate.cfg.xml这个文件里面的配置没配对啊,还有就是版本问题