Java.lang.stackoverflowerror error [How to Solve]

I just started learning Java. If something is wrong, please show mercy
when practicing Maven’s integrated SSM framework, a java.lang.stackoverflowerror error occurs when performing multi condition query. Generally, this error is due to the problem of dead loop or recursion, but I do not use loop and recursion. The error is shown in the figure, It calls a method of servie to find all the data in a table from mapper

examination was found to be a very low-level mistake. I injected it wrong, injected myself into the service, and then invoked my own method, resulting in an overflow error. 
after injecting mapper, it runs successfully

Read More: