Having issues with deployment when following the learning path

0
I am currently following the learning path courses to “Build an app in Mendix studi0” .I built the SLA Tracker app. However when i try to deploy to mendix cloud or run it locally i keep getting the following error. Please help. * Preparing deployment... Executing step 'Check prerequisites' * Checking for errors... Executing step 'Clean deployment directory' * Cleaning data broker files... * Cleaning deployment directory... * Cleaning web deployment directory... Executing step 'Prepare deployment' * Writing files... Executing step 'Build deployment structure' * Generating data broker files... * Compiling Java... ERROR: An error occurred while compiling Java actions Buildfile: /srv/cloud/slots/tr10000/deploy/data/tmp/e168a94e-1b06-40c5-af85-33b45d1b4b40/src/deployment/build_core.xml compile: [javac] Compiling 118 source files to /srv/cloud/slots/tr10000/deploy/data/tmp/e168a94e-1b06-40c5-af85-33b45d1b4b40/src/deployment/run/bin [javac] /srv/cloud/slots/tr10000/deploy/data/tmp/e168a94e-1b06-40c5-af85-33b45d1b4b40/src/javasource/mendixsso/implementation/UserManager.java:87: error: method execute in class Core cannot be applied to given types; [javac] final boolean hasAccess = Core.execute(c, "MendixSSO.RetrieveUserRoles", new HashMap<String, Object>() {{ [javac] ^ [javac] required: T [javac] found: IContext,String,<anonymous 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] /srv/cloud/slots/tr10000/deploy/data/tmp/e168a94e-1b06-40c5-af85-33b45d1b4b40/src/javasource/mendixsso/implementation/UserMapper.java:51: error: method execute in class Core cannot be applied to given types; [javac] return Core.execute(context, this.createUserMicroflowName, new HashMap<String, Object>() {{ [javac] ^ [javac] required: T [javac] found: IContext,String,<anonymous 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] /srv/cloud/slots/tr10000/deploy/data/tmp/e168a94e-1b06-40c5-af85-33b45d1b4b40/src/javasource/mendixsso/implementation/UserMapper.java:58: error: method execute in class Core cannot be applied to given types; [javac] Core.execute(context, this.updateUserMicroflowName, new HashMap<String, Object>() {{ [javac] ^ [javac] required: T [javac] found: IContext,String,<anonymous 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: /srv/cloud/slots/tr10000/deploy/data/tmp/e168a94e-1b06-40c5-af85-33b45d1b4b40/src/javasource/mendixsso/implementation/utils/MendixUtils.java uses unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 3 errors BUILD FAILED /srv/cloud/slots/tr10000/deploy/data/tmp/e168a94e-1b06-40c5-af85-33b45d1b4b40/src/deployment/build_core.xml:31: Compile failed; see the compiler error output for details. Total time: 2 seconds BUILD FAILED [+ 20] [BUILD 3c6a3042-825d-493d-90e9-c9cf3e93a036/trunk/4 -> 3ccfdd84-c61b-42e9-89d7-b0229ae785d4-4fcf3f15-e6bf-4e02-bbf6-12146e84e6d8. State: Failed] Job failed: An error occurred while compiling Java actions [+ 20] [BUILD 3c6a3042-825d-493d-90e9-c9cf3e93a036/trunk/4 -> 3ccfdd84-c61b-42e9-89d7-b0229ae785d4-4fcf3f15-e6bf-4e02-bbf6-12146e84e6d8. State: Failed] cause: Process exited with an error: 3 (Exit value: 3) Exception details (type buildserver.MxBuildException): An error occurred while compiling Java actionsbuildserver.MxBuildException: An error occurred while compiling Java actions at buildserver.BuildOperations.buildMpr(BuildOperations.java:241) at buildserver.BuildJobRunnerV2.buildMpr(BuildJobRunnerV2.java:157) at buildserver.BuildJobRunnerV2.run(BuildJobRunnerV2.java:77) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: org.apache.commons.exec.ExecuteException: Process exited with an error: 3 (Exit value: 3) at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:377) at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:160) at buildserver.Utils.runCommandLineProcess(Utils.java:106) at buildserver.BuildOperations.buildMpr(BuildOperations.java:213) ... 7 more Thanks Priscilla    
asked
1 answers
0

Version 9.0.2 is  beta version and you have ran into a bug that many others have run into as well. Either wait for 9.1 to come out or restart your exercise in version 8.17.0.

answered