Search code examples
grails

grails 2.5.4 won't start from terminal StackOverflowError


I'm running grails 2.5.4(I cannot upgrade the version), it successfully runs in my IDE (intellij) but I cannot get any grails command to run from the terminal. Even if I type just "grails" and nothing else, it will throw an error.

The error is:Exception: java.lang.StackOverflowError thrown from the UncaughtExceptionHandler in thread "main"

I can't seem to get anymore information out of it with --verbose Also, I am running java 8


Solution

  • so I found out what was going on through excessive trial an error. The issue was that I had db2 installed on my machine. I don't know why that was causing the issue. But for anyone that might be running into this issue, that's what the problem was for me.