Compile errors

0
Hallo, I´m new with Mendix and have an compile error running the project file of ‘build a restaurant booking app’ –> https://bit.ly/2HgDkLP Can someone help me with this?   Buildfile: C:\Users\daanv\OneDrive\Documenten\Mendix\Demo Lokaal App-main\deployment\build_core.xml compile:     [javac] Compiling 220 source files to C:\Users\daanv\OneDrive\Documenten\Mendix\Demo Lokaal App-main\deployment\run\bin     [javac] C:\Users\daanv\OneDrive\Documenten\Mendix\Demo Lokaal App-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\daanv\OneDrive\Documenten\Mendix\Demo Lokaal App-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] Note: C:\Users\daanv\OneDrive\Documenten\Mendix\Demo Lokaal App-main\javasource\mendixsso\implementation\utils\MendixUtils.java uses unchecked or unsafe operations.     [javac] Note: Recompile with -Xlint:unchecked for details.     [javac] 1 error     [javac] 1 warning BUILD FAILED C:\Users\daanv\OneDrive\Documenten\Mendix\Demo Lokaal App-main\deployment\build_core.xml:29: Compile failed; see the compiler error output for details. Total time: 12 seconds   Thanks in advance
asked
3 answers
0

Hi Daan,

Can you try Updating the Community commons Module and compile it again? 

answered
0

Ah, you have run into a Mendix 9.0.2 bug that Mendix has yet to solve. This is a beta-version. This might be take them a couple of days/weeks yet before this is solved.

You best start over in Mendix version 8.17.0 which is fully supported and functional and does not have this bug.

answered
0

Thank you very much for the fast answer! an older version was the solution.

However, when I try to login on the Mendix Make It Native app I get the following error:
 

Could temporarily not synchronize data. Please try again later.
construct@[native code]
p@http://192.168.68.117:8083/index.bundle?platform=ios&dev=false&minify=true:31:244
f@http://192.168.68.117:8083/index.bundle?platform=ios&dev=false&minify=true:29:363
construct@[native code]
http://192.168.68.117:8083/index.bundle?platform=ios&dev=false&minify=true:7:2423
n@http://192.168.68.117:8083/index.bundle?platform=ios&dev=false&minify=true:7:20118
http://192.168.68.117:8083/index.bundle?platform=ios&dev=false&minify=true:7:116430
y@http://192.168.68.117:8083/index.bundle?platform=ios&dev=false&minify=true:23:587
http://192.168.68.117:8083/index.bundle?platform=ios&dev=false&minify=true:23:1890
y@http://192.168.68.117:8083/index.bundle?platform=ios&dev=false&minify=true:23:587
o@http://192.168.68.117:8083/index.bundle?platform=ios&dev=false&minify=true:23:1066
http://192.168.68.117:8083/index.bundle?platform=ios&dev=false&minify=true:23:1238
f@http://192.168.68.117:8083/index.bundle?platform=ios&dev=false&minify=true:62:155
http://192.168.68.117:8083/index.bundle?platform=ios&dev=false&minify=true:62:882
y@http://192.168.68.117:8083/index.bundle?platform=ios&dev=false&minify=true:120:661
C@http://192.168.68.117:8083/index.bundle?platform=ios&dev=false&minify=true:120:1025
callImmediates@http://192.168.68.117:8083/index.bundle?platform=ios&dev=false&minify=true:120:3100
callImmediates@[native code]
value@http://192.168.68.117:8083/index.bundle?platform=ios&dev=false&minify=true:54:3247
http://192.168.68.117:8083/index.bundle?platform=ios&dev=false&minify=true:54:1283
value@http://192.168.68.117:8083/index.bundle?platform=ios&dev=false&minify=true:54:2939
value@http://192.168.68.117:8083/index.bundle?platform=ios&dev=false&minify=true:54:1253
value@[native code]
value@[native code]

 

Someone knows how to resolve this?

 

Thanks in advance!

answered