Maven package error reporting java.lang.stackoverflowerror solution

An error is reported when the Maven project is packaged, java.lang.stackoverflowerror

The solution is in setting – & gt; maven-> runner-> Add – xss4096k to VM options, as shown in the following figure

Click package again. If you still report an error, you can try to increase this value a little  

Read More: