I want to my project run locally but i got following error why?

0
Buildfile: C:\Users\dnyaneshwar\Documents\Mendix\AdventureWorks-main\deployment\build_core.xml compile:     [javac] Compiling 354 source files to C:\Users\dnyaneshwar\Documents\Mendix\AdventureWorks-main\deployment\run\bin     [javac] C:\Users\dnyaneshwar\Documents\Mendix\AdventureWorks-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\dnyaneshwar\Documents\Mendix\AdventureWorks-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] C:\Users\dnyaneshwar\Documents\Mendix\AdventureWorks-main\javasource\databasereplication\actions\ImportActivitySet.java:45: error: method execute in class Core cannot be applied to given types;     [javac]             Core.execute(context, "DatabaseReplication.ProcessActivitySet", paramMap);     [javac]                 ^     [javac]   required: T     [javac]   found: IContext,String,HashMap<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\dnyaneshwar\Documents\Mendix\AdventureWorks-main\javasource\databasereplication\implementation\IDataManager.java:118: error: method execute in class Core cannot be applied to given types;     [javac]                 Core.execute(this.settings.getContext(), this.settings.getFinishingMicroflowName(), params);     [javac]                     ^     [javac]   required: T     [javac]   found: IContext,String,HashMap<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] 3 errors     [javac] 1 warning BUILD FAILED C:\Users\dnyaneshwar\Documents\Mendix\AdventureWorks-main\deployment\build_core.xml:30: Compile failed; see the compiler error output for details. Total time: 20 seconds
asked
1 answers
1

Did you write any java actions or did you import modules? This looks like an issue in the java code.

You could deploy your project for eclipse, open it in eclipse and research the errors/warnings eclipse is showing you.

answered