***************************
APPLICATION FAILED TO START
***************************
Description:
Field userMapper in com.ddd.service.impl.HBaseUserImpl required a bean of type 'com.ddd.mapper.hbase.UserMapper' that could not be found.
The injection point has the following annotations:
- @org.springframework.beans.factory.annotation.Autowired(required=true)
Action:
Consider defining a bean of type 'com.ddd.mapper.hbase.UserMapper' in your configuration.
MapperScan加入进去
@SpringBootApplication
@MapperScan(value = "com.ddd.mapper.hbase")
@MapperScan(value = "com.ddd.mapper.mysql")
public class DApplication {
public static void main(String[] args) {
SpringApplication.run(DApplication.class, args);
}
}