I have tried all available solutions on the internet but it's not working.
Tried Solutions like this:
Here is my code:
import com.java.floatcare.model.TestCollection;
@Autowired
private TestCollectionService testCollectionService;
public TestCollection createTestCollections(Long userId, String userName, Long userType, Long businessAddress, Long businessAddress2, String phoneNumber, String email, String status)throws Exception {
return testCollectionService.createTestCollections(userId, userName, userType, businessAddress, businessAddress2, phoneNumber, email, status);
}
public TestCollection updateTestCollections(Long userId, String userName, Long userType, Long businessAddress, Long businessAddress2, String phoneNumber, String email, String status)throws Exception {
return testCollectionService.updateTestCollections(userId, userName, userType, businessAddress, businessAddress2, phoneNumber, email, status);
}
public boolean deleteTestCollections(long userId) {
return testCollectionService.deleteTestCollections(userId);
}
Error:
Consider defining a bean of type 'com.java.floatcare.service.serviceName' in your configuration