mtyson mtyson - 7 months ago 79
Groovy Question

Grails/Eclipse: Native Library jline_.dll already loaded in another classloader

I am seeing the following error when trying to run various grails tasks (like generate-controller) from the String STS IDE (Eclipse). It seems like this start after I installed EGit, but I'm not sure about that.

Anyone seen things like this before?


An internal error occurred during: "Building workspace".
Native Library C:\Users\mtyson\AppData\Local\Temp\jline_.dll already loaded in another classloader


Apparently this is a STS Spring issue.

I run grails 'clean' from the IDE while run-app is going on, and it somehow loses track of the run-app process. The console doesn't think the app is running, but it is running in the background (ctrl-alt-del reveals it in task man). After that, the mentioned .dll error appears. Solution is to just kill the rogue process.