Use of @Qualifier annotation | Solution for NoSuchBeanDefinitionException | Spring Annotation

Описание к видео Use of @Qualifier annotation | Solution for NoSuchBeanDefinitionException | Spring Annotation

#Qualifier #NoSuchBeanDefinitionException

GitHub Account for Free Code download: https://github.com/admindebu
Follow me on FaceBook:   / techtalkdebu  
Instagram: techtalk_debu
LinkedIn :   / debu-paul  

if you like my video, please subscribe to my channel and share the video


Example :

public class Customer
{
@Autowired
private Person person;
}

if conflict happened to use the @Qualifier with the absolute bean id.

public class Customer
{
@Autowired
@Qualifier("personA")
private Person person;
}

Thanks & Regards,
Debu Paul

Комментарии

Информация по комментариям в разработке