Posts

Showing posts with the label Grails IntelliJ testing IDEA

Run Forked Tests in Grails on IntelliJ IDEA

Image
How to resolve issues with Running Forked Tests in Grails on IntelliJ IDEA When trying to run test-app on a Grails project in Intellij you may see a error similar to the following: | Error Error running forked test - app : Could not load grails build listener class java . lang . RuntimeException : Could not load grails build listener class at org . codehaus . groovy . grails . cli . support . GrailsBuildEventListener . addGrailsBuildListener ( GrailsBuildEventListener . java : 258 ) at org . codehaus . groovy . grails . cli . support . GrailsBuildEventListener . loadGrailsBuildListeners ( GrailsBuildEventListener . java : 106 ) at org . codehaus . groovy . grails . cli . support . GrailsBuildEventListener . initialize ( GrailsBuildEventListener . java : 73 ) at org . codehaus . groovy . grails . cli . fork . ForkedGrailsProjectClassExecutor . createEventListener ( ForkedGrailsProjectClassExecutor . groovy : 102 ) at org . codehaus . groo...