在使用mybatis和spring时报错:
Request processing failed; nested exception is java.lang.NullPointerException
可能的原因是没有添加 @Autowired 注解,加上即可。
@Autowired
private IFancyService fancyService;
在使用mybatis和spring时报错:
Request processing failed; nested exception is java.lang.NullPointerException
@Autowired
private IFancyService fancyService;