在IDEA集成开发工具中执行: setting->maven->runner->VM Options中添加“-Xss4096k” 如果还是报“java.lang.StackOverflowError”则调大参数再试。