Hi all, I am trying to migrate my application from 8.12.1 version to 9.6.10 version by first moving it to 8.18.19 version which has msgraph connector in it. After migrating to 9.6 version when i run the application Am facing a java compilation error which is something related to MSGraphConnector. Can someone please find me ways to resolve it and if there is any method i need to follow for this msgraph connector to update in 9.6 version? Buildfile: C:\Users\monisha.palani\Documents\Mendix\-branch_9_6_10_version\deployment\build_core.xml compile: [javac] Compiling 530 source files to C:\Users\monisha.palani\Documents\Mendix\-branch_9_6_10_version\deployment\run\bin [javac] C:\Users\monisha.palani\Documents\Mendix\-branch_9_6_10_version\javasource\communitycommons\Misc.java:336: 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\monisha.palani\Documents\Mendix\-branch_9_6_10_version\javasource\msgraphconnector\actions\custom\MSGraphCallback.java:311: error: method execute in class Core cannot be applied to given types; [javac] Object result = Core.execute(context, USERRESOLVERMF, 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] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 2 errors BUILD FAILED C:\Users\monisha.palani\Documents\Mendix\-branch_9_6_10_version\deployment\build_core.xml:29: Compile failed; see the compiler error output for details. Total time: 17 seconds Thanks in Advance!
asked
Monisha Palani
1 answers
1
Hi Monisha,
You might need to upgrade community commons module and other dependent modules too. Then try to remove duplicate userlib and clean deployment directory.