Increase the stack size for the JVM when Maven / SBT run. The build sets this but you may still need something like "-Xss4m" in your MAVEN_OPTS
On Mon, Jul 18, 2022 at 11:18 AM rajat kumar <kumar.rajat20...@gmail.com> wrote: > Hello , > > Can anyone pls help me in below error. It is a maven project. It is coming > while building it > > [ERROR] error: java.lang.StackOverflowError > [INFO] at > scala.tools.nsc.typechecker.Typers$Typer.typedApply$1(Typers.scala:4885) >