hibernate.cfg.xml(2)不允许匹配“[xX] [mM] [lL]”的处理指令目标。
线程“main”中的异常org.hibernate.HibernateException:不能 解析配置:hibernate.cfg.xml
这是我的xml文件
<hibernate-configuration>
<session-factory>
<property name="show_sql">true</property>
<property name="hbm2ddl.auto">create</property>
<property name="dialect">org.hibernate.dialect.Oracle9Dialect</property>
<property name="connection.url">jdbc:oracle:thin:@localhost:1521:xe</property>
<property name="connection.username">system</property>
<property name="connection.password">123</property>
<property name="connection.driver_class">oracle.jdbc.driver.OracleDriver</property>
<mapping class="com.java.utils.Details"></mapping>
</session-factory>
</hibernate-configuration>
答案 0 :(得分:1)
你能检查一下这些事吗: