Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Grails - Forked Grails VM exited with error when compiling

It happens when grails tries to compile the project, when --stacktrace and --verbose are used it shows the same output. I tried to reinstall the plugins and grails. I'm using grails 2.4.3

Here's the error:

Running without daemon...
Compiling 230 source files
Parent process shutdown. Exiting...
Error Forked Grails VM exited with error
like image 513
Ignacio Lebrero Avatar asked Oct 30 '25 11:10

Ignacio Lebrero


1 Answers

The problem that you have is that you don't know what is wrong. In order to find the real problem I recommend you change in grails-app/conf/BuildConfig.groovy the parameter: grails.project.fork for this:

grails.project.fork = [
    compile: false,
    test: false,
    run: false,
    war: false,
    console: false
]

Try again and you will see the real problem.

like image 96
Martin Forte Avatar answered Nov 01 '25 12:11

Martin Forte