为什么老是出现错误 在学习第17章的时候 配置1对1主键关联的时候 总是创建不了表报下面这个错误
INFO: HHH000423: Disabling contextual LOB creation as JDBC driver reported JDBC version [3] less than 4
创建绘话工厂失败!
org.hibernate.InvalidMappingException: Could not parse mapping document from resource com/wj/idcard/IDcard.hbm.xml
at org.hibernate.cfg.Configuration$MetadataSourceQueue.processHbmXml(Configuration.java:3599)
at org.hibernate.cfg.Configuration$MetadataSourceQueue.processHbmXmlQueue(Configuration.java:3588)
at org.hibernate.cfg.Configuration$MetadataSourceQueue.processMetadata(Configuration.java:3576)
at org.hibernate.cfg.Configuration.secondPassCompile(Configuration.java:1381)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1786)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1870)
at com.wj.hibernate.HibernateUtil.<clinit>(HibernateUtil.java:17)
at com.wj.servlet.AddPeople.doPost(AddPeople.java:31)
at com.wj.servlet.AddPeople.doGet(AddPeople.java:20)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.inter