我正试图在我的Spring项目中添加两个数据源,但是,我得到了这个错误
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ajaxController': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.NoUniqueBeanDefinitionException: No qualifying bean
string user = string.Empty;SqlConnection con = new SqlConnection(constr);
string result = "SELECT [UserID],[Status] FROM [MSCAssignment].[dbo].[StatusButton] WHERE [Status]='1'"