springboot中使用servlet:加上 @ServletComponentScan("com.abc.springboot.servlet")
springboot中使用dubbo: @EnableDubboConfiguration //开启dubbo配置
springboot中使用到mybatis:@MapperScan(basePackages ="com.bjpowernode.springboot.mapper")
springboot中使用到数据库的事务:@EnableTransactionManagement //开启事务(可选项)//开启事务支持(可选项,但@Transactional必须添加)