Is anyone facing Java action failed error in Use Case: Cash Flow

0
While running the cash flow application getting below error:  /file?guid=19703248379845429 C:\Users\Shashank_Hajare\Mendix\Cash_Flow-main\javasource\mendixsso\implementation\UserManager.java:40: error: cannot find symbol            c.rollbackTransAction();             ^  symbol:   method rollbackTransAction()  location: variable c of type IContextC:\Users\Shashank_Hajare\Mendix\Cash_Flow-main\javasource\mendixsso\implementation\UserManager.java:79: error: cannot find symbol            c.rollbackTransAction();             ^  symbol:   method rollbackTransAction()  location: variable c of type IContextNote: Some input files use or override a deprecated API.Note: Recompile with -Xlint:deprecation for details.Note: Some input files use unchecked or unsafe operations.Note: Recompile with -Xlint:unchecked for details.2 errors FAILURE: Build failed with an exception. * What went wrong:Execution failed for task ':compile'.> Compilation failed; see the compiler error output for details. * Try:> Run with --stacktrace option to get the stack trace.> Run with --debug option to get more log output.> Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 2s
asked
5 answers
1

Hello,

It's Mendix SSO module is failing to compile. You can download this module again from the Marketplace.

https://marketplace.mendix.com/link/component/111349

 

Thanks & Regards,

Manikandan K

answered
0

Looks like a jar file issue, try checking for duplicate jar files and remove the oldest version.

Also check marketplace modules for updates.

answered
0

The problem is with your SAML module. 

 

The solution is to clean your userlib directory, remove all duplicate modules, and also remove all files marked as required by SAML. Next, re-install the SAML from the Marketplace. This should restore all the required .jar files and solve the Java error.

 

Good luck!

answered
0

Same problem as described by the issuer. Quite frustrating because the problem appears without touching anything from the downloaded example.

Not solved with my understanding of the recommendations.

If this is something that might happen to other students, please provide an alternative solution were this kind of issues are less probable. If the issue appears quite often, then please provide specific guidelines in the course.

Thanks anyway for the great contents of the courses. They are really good.

answered
0

Overview

I've got the solution provided in the academy to work in 2 simple steps:

 

1. Download the 3 modules highlighted from the Mendix Market again - Select "Replace Existing ..."

 

2. Add "EmailAddress" as an attribute to the UserProfile Entity in the MendixSSO Domain model.

(This is not following "best-practice", but offers a way to get the application running and working)

 

---- UPDATE ----

 

Found a solution that does not require adding any entities or extra attributes, as "EmailAddress" is available through "$Account/Email" when trying to fix the 2 errors in the microflows.

answered