Tuesday, 15 February 2011

Appfuse Tutorial troubles - BeanCreationException -


After

I am working through Appfuse tutorial for version 3.5 (as before answering another question, Matt Rabble Advised).

I am on the move:

But when I create (mvn package) .. I get the following error:

Run gov.nysed .archives Nimbus.dao.PersonDaoTest Running gov.nysed.archives.Nimbus.webapp.controller.UpdatePasswordControllerTest

Warning [main] GenericApplicationContext.refresh (487) | Exceptions reference during initialization - cancel recent attempt org.springframework.beans.factory.BeanCreationException: Error creating bean wit h the name 'userManager': autowired failed dependency injection; Law could not autowire :: Nested exception org.springframework.beans.factory.BeanCreationException public void gov.nysed.archives.Nimbus.service.impl.UserManagerImpl.set MailMessage (org.springframework.mail.SimpleMailMessage); Nested exception is java.lang.NoClassDefFound error: [Lorg / Hibernate / Engine / Filter definition; ~ On org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues ​​(AutowiredAnnotationBeanPostProcessor.java:334) [Spring-beans -4.1.3. RELEASE.jar: 4.1.3.RELEASE] ...

Can I cause this problem by adding "person" section (unit and controller etc)? It passed the tests before adding this new institution ... Of course, yes ... but how?


No comments:

Post a Comment