Hibernate 4では、DTDの代わりにXSDスキーマを使用する可能性があります。Hibernate 4の新しいXSDスキーマ
<hibernate-mapping xmlns="http://www.hibernate.org/xsd/hibernate-mapping"
xsi:schemaLocation="http://www.hibernate.org/xsd/hibernate-mapping hibernate-mapping-4.0.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
しかし、スキーマの場所が無効で、初期化中にエラーが発生しました。
誰かがHibernate 4でXSDに何が間違っているか知っていますか?
必要な場合は、Hibernate設定ファイル用のXML Schema Definitionファイルの現在の場所を示します:http://hibernate.org/xsd/hibernate-configuration/hibernate-configuration-4.0 .xsd ** 'xsi:schemaLocation'属性の中で使うことができます。次のページには、Hibernate用の利用可能なXSDファイルへのリンクがあります(現在、そこには_one_XSDのみあります):http://hibernate.org/xsd/hibernate-configuration/。 – informatik01