java.lang.StackOverflowError: null java.lang.StackOverflowError: null 报错的原因是栈溢出。 在写SpringBoot+Mybatis+Restful中遇到这个异常 这个异常是因为,在service调用了本类的方法 图示: