私はバージョン 3.5 の Appfuse チュートリアルに取り組んでいます (別の質問に対する Matt Raible の以前のアドバイスによる)。
私はこのステップにいます: http://appfuse.org/display/APF/Using+Spring+MVC#UsingSpringMVC-listview
しかし、(mvn パッケージ) をビルドすると、次のエラーが表示されます。
gov.nysed.archives.Nimbus.dao.PersonDaoTest の実行 gov.nysed.archives.Nimbus.webapp.controller.UpdatePasswordControllerTest の実行
WARN [メイン] GenericApplicationContext.refresh(487) | コンテキストの初期化中に例外が発生しました - 更新の試行をキャンセルしています ネストされた例外は org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void gov.nysed.archives.Nimbus.service.impl.UserManagerImpl.set MailMessage(org.springframework.mail.SimpleMailMessage); です。ネストされた例外は java.lang.NoClassDefFoundError: [Lorg/hibernate/engine/FilterDefinition; at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334) ~[spring-beans-4.1.3.RELEASE.jar:4.1.3.RELEASE] ...
「人」セクション (エンティティとコントローラーなど) を追加すると、この問題が発生する可能性がありますか? 新しいエンティティを追加する前にテストに合格しました...もちろん、はい...しかしどうやって?