I am trying to run Restaurant booking app which was shown on webinar below is the link. https://video.mendix.com/watch/9u3nihjPieE2Ge8tkZmrvX And this is what i am getting after updating the modules like native mobile Resources and nanoflow commons I am using mendix Studio pro 9.0.4 Buildfile: C:\Users\ashut\Documents\Mendix\CheckedIn-Original-main\deployment\build_core.xml compile: [javac] Compiling 186 source files to C:\Users\ashut\Documents\Mendix\CheckedIn-Original-main\deployment\run\bin [javac] C:\Users\ashut\Documents\Mendix\CheckedIn-Original-main\javasource\communitycommons\Misc.java:360: error: method execute in class Core cannot be applied to given types; [javac] return Core.execute(c, microflowName, params); [javac] ^ [javac] required: T [javac] found: IContext,String,Map<String,Object> [javac] reason: cannot infer type-variable(s) T,R [javac] (actual and formal argument lists differ in length) [javac] where T,R are type-variables: [javac] T extends CoreAction<R> declared in method <T,R>execute(T) [javac] R extends Object declared in method <T,R>execute(T) [javac] C:\Users\ashut\Documents\Mendix\CheckedIn-Original-main\javasource\communitycommons\Misc.java:590: warning: [dep-ann] deprecated item is not annotated with @Deprecated [javac] public static boolean objectsAreEqual(Object left, Object right) { [javac] ^ [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] 1 error [javac] 1 warning BUILD FAILED C:\Users\ashut\Documents\Mendix\CheckedIn-Original-main\deployment\build_core.xml:30: Compile failed; see the compiler error output for details. Total time: 3 seconds
asked
Ashutosh Dikshit
1 answers
2
As the method Core.execute was already deprecated in Mendix 8.6 it might be that this method is no longer available and should be changed to Core.MicroflowCall see