-3
eclipse Marsを使用して、HibernateとJspで動的Webアプリケーションを作成しています。私は、エラーAnnotations jsp、hibernate、mysql、eclipse marsを使用したWebアプリケーションでのコミュニケーション
An AnnotationConfiguration instance is required to use <mapping class="com.hibernate.bean.User"/>
error
これは私が私のプログラムで使用されるコードのlinkあるを取得しています。コードを参照するにはこのリンクを参照してください
誰か問題を解決できますか?
ありがとうございます。
UPDATE
java.lang.NoSuchMethodError: org.objectweb.asm.ClassReader.accept(Lorg/objectweb/asm/ClassVisitor;I)
(…)
Caused by: java.lang.IllegalStateException:
ContainerBase.addChild:
start: LifecycleException:
java.lang.NoSuchMethodError: org.objectweb.asm.ClassReader.accept(Lorg/objectweb/asm/ClassVisitor;I)
今私は、私は休止状態のためにjarファイルを追加する逃した例外
Googleはあなたの友人です:https://www.mkyong.com/hibernate/hibernate-error-an-annotationconfiguration-instance-is-required-to-use/ – Jens
[AnnotationConfigurationインスタンスを取得する理由は何ですか] AnnotationConfigurationが推奨されていない場合に必要ですか?](https://stackoverflow.com/questions/19038907/whyam-i-getting-annotationconfiguration-instance-is-required-when-annotationcon) –
ここでは@IDを使用しませんでした。任意の注釈、上記のリンクで注釈を使用しました –