groovy.lang.MissingMethodException during mvn grails:test-app
Hello
I have domain object Server. During bootstrap following code is called
Code:
serverUrl = Server.get(1)?.url
Following command is executed during app build
Quote:
mvn -Dgrails.env=devTest clean -e && mvn -Dgrails.env=test grails:test-app -e && mvn -Dgrails.env=devTest grails:maven-war -e
Sometimes grails:test-app failures with error grails:test-app groovy.lang.MissingMethodException on method Server.get. This problem happens only sometimes and only during app build