项目启动的时候报异常:
Description:
Field profile2RuleVariatesConvertService in com.hm.sentry.module.mc.service.impl.MedicalRecordQcServiceImpl required a bean of type 'com.hm.sentry.module.mc.service.Profile2RuleVariatesConvertService' that could not be found.
Action:
Consider defining a bean of type 'com.hm.sentry.module.mc.service.Profile2RuleVariatesConvertService' in your configuration.
Disconnected from the target VM, address: '127.0.0.1:65362', transport: 'socket'
Process finished with exit code 1
解决:
去看一下Profile2RuleVariatesConvertService 的实现类 是不是少了 @Service 注解,加载不了实现类