I'm thoroughly *stumped* by a recent MissingMethodException. When I execute the code on an Amazon EC2 instance, I consistently receive the noted exception.
However, when I run the code on my local Linux workstation, the tests *pass successfully*. Here are the specs on the EC2 instance Java: java version "1.8.0_181" Java(TM) SE Runtime Environment (build 1.8.0_181-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode) Maven: Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T18:33:14Z) Maven home: /home/ec2-user/apache-maven-3.5.4 Java version: 1.8.0_181, vendor: Oracle Corporation, runtime: /home/ec2-user/jdk1.8.0_181/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "4.14.138-114.102.amzn2.x86_64", arch: "amd64", family: "unix" And, here is the error message Groovy is throwing. I've checked the code and I am calling the method correctly. From the message below, it would seem to be a class loader issue. Unfortunately, I have no experience with resolving this sort of issue. Any help would be appreciated. groovy.lang.MissingMethodException: No signature of method: com.disney.studio.qa.ui.domain.workflow.RuleWorkflow.setCastAndGuildParameters() is applicable for argument types: (com.disney.studio.qa.c ommon.testdata.deserialization.rules.ObligationDetails...) values: [com.disney.studio.qa.common.testdata.deserialization.rules.ObligationDetails(null, com.disney.studio.qa.common.testdata.deserializ ation.rules.CastParameter([ptmin:[[value:$2000], [value:$1000], [value:$1500], [value:$500], [value:$75]]], null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null), null, com.disney.studio.qa.common.testdata.deserialization.rules.Calculation([com.disney.studio.qa.common.testdata.deserialization.rules.CalculationRecord(com.disney.studio.qa.common.testdata .deserialization.rules.Iteration(null, null, com.disney.studio.qa.common.testdata.deserialization.rules.IterationRecord([[description:network primetime run, value:0%, min:0, max:0], [description:net work primetime run, value:0%, min:1, max:1], [description:network primetime run, value:100%, min:2, max:2], [description:network primetime run, value:100%, min:3, max:3], [description:network primet ime run, value:100%, min:4, max:4], [description:network primetime run, value:100%, min:5, max:null]]), null, null, null, null, null, null, null), null, null, null, null, null, null, null, null, nul l, null, null, null, null, null, null, null, null, true)], null, null, com.disney.studio.qa.common.testdata.deserialization.rules.CalculationRecord(com.disney.studio.qa.common.testdata.deserializati on.rules.Iteration(null, null, com.disney.studio.qa.common.testdata.deserialization.rules.IterationRecord([[description:network primetime run, value:0%, min:0, max:0], [description:network primetime run, value:0%, min:1, max:1], [description:network primetime run, value:100%, min:2, max:2], [description:network primetime run, value:100%, min:3, max:3], [description:network primetime run, value :100%, min:4, max:4], [description:network primetime run, value:100%, min:5, max:null]]), null, null, null, null, null, null, null), null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, true), null, null, null, null, null, null, null)), ...] Possible solutions: setCastAndGuildParameters(com.disney.studio.qa.common.testdata.deserialization.rules.ObligationDetails, com.disney.studio.qa.ui.steps.support.world.DataModelProperty, java.lang.B oolean), setCastAndGuildParameters(com.disney.studio.qa.common.testdata.deserialization.rules.ObligationDetails, com.disney.studio.qa.ui.steps.support.world.DataModelProperty, java.lang.Boolean, jav a.util.Map) The following classes appear as argument class and as parameter class, but are defined by different class loader: com.disney.studio.qa.ui.steps.support.world.DataModelProperty (defined by 'groovy.lang.GroovyClassLoader$InnerLoader@7e41e1e4' and 'sun.misc.Launcher$AppClassLoader@6bc7c054') If one of the method suggestions matches the method you wanted to call, then check your class loader setup. at com.disney.studio.qa.ui.steps.ObligationCalcSteps$_run_closure2.doCall(ObligationCalcSteps.groovy:36) at ✽.And the product has been setup with the required cast and guild parameters(parallel_features/ot01-exclusive-pension---obligation-calculation-for-ot01-wga-netprim-or36211-055330-3.featur e:44) -- Regards, Robert