hi I have an error when I create web applications using EJB. with session beans, JPA, and springController.
when I called sessionbeans into web applications using Spring. @Controller @RequestMapping("/mail.app") public class EmailController { @ Autowired private EmailApplicationControllerBean mailService; I have this error: : Error creating bean with name 'emailController': Autowiring of fields failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.sss.mail.join.controller.bean.EmailApplicationControllerBean com.sss . email.spring.Application.EmailController.mailService; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [com.sss.mail.join.controller.bean.EmailApplicationControllerBean] is defined: Unsatisfied dependency of type [class com.sss.mail.join.controller.bean.EmailApplicationControllerBean]: Expected at least 1 matching bean maybe anyone knows a solution should i do -- You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en