1、问题:
在上一个问题基础上点击,又出现以下错误信息
SEVERE: Servlet.service() for servlet [taotao-manager-web] in context with path [] threw exception [Request processing failed; nested exception is java.lang.NullPointerException] with root cause
2、解决
这是由于在service实现类中没有写下面的Autowired这个注解。
下次要注意。不要再犯这种小错误。耽误时间
@Autowired
private TbContentMapper tbContentMapper;