Java compiling error Siemens_Mendix_Project_Starter SSO CES

0
When I am compiling to test SSO and CES in local mode, I get this error: Buildfile: C:\UserData\Z002hvus\Documents\Mendix\scApps-dev\deployment\build_core.xml compile:     [javac] Compiling 33 source files to C:\UserData\Z002hvus\Documents\Mendix\scApps-dev\deployment\run\bin     [javac] C:\UserData\Z002hvus\Documents\Mendix\scApps-dev\javasource\siemensentitlementssointegration\implementation\handlers\CallbackHandler.java:218: error: cannot find symbol     [javac]         List<IMendixObject> objects = Core.retrieveXPathQueryEscaped(context,      [javac]                                           ^     [javac]   symbol:   method retrieveXPathQueryEscaped(IContext,String,String,String,String)     [javac]   location: class Core     [javac] C:\UserData\Z002hvus\Documents\Mendix\scApps-dev\javasource\siemensentitlementssointegration\implementation\util\SessionUtil.java:69: error: cannot find symbol     [javac]         List<IMendixObject> tokenObjects = Core.retrieveXPathQueryEscaped(context,      [javac]                                                ^     [javac]   symbol:   method retrieveXPathQueryEscaped(IContext,String,String,String,String)     [javac]   location: class Core     [javac] C:\UserData\Z002hvus\Documents\Mendix\scApps-dev\javasource\siemensentitlementssointegration\implementation\util\UserClaimsMapper.java:225: error: cannot find symbol     [javac]         List<IMendixObject> objects = Core.retrieveXPathQueryEscaped(this.context,      [javac]                                           ^     [javac]   symbol:   method retrieveXPathQueryEscaped(IContext,String,String,String,String)     [javac]   location: class Core     [javac] C:\UserData\Z002hvus\Documents\Mendix\scApps-dev\javasource\siemensentitlementssointegration\implementation\util\UserClaimsMapper.java:242: error: cannot find symbol     [javac]         List<IMendixObject> objects = Core.retrieveXPathQueryEscaped(this.context,      [javac]                                           ^     [javac]   symbol:   method retrieveXPathQueryEscaped(IContext,String,String,String,String)     [javac]   location: class Core     [javac] Note: C:\UserData\Z002hvus\Documents\Mendix\scApps-dev\javasource\siemensentitlementssointegration\implementation\util\UserClaimsMapper.java uses or overrides a deprecated API.     [javac] Note: Recompile with -Xlint:deprecation for details.     [javac] 4 errors BUILD FAILED C:\UserData\Z002hvus\Documents\Mendix\scApps-dev\deployment\build_core.xml:29: Compile failed; see the compiler error output for details. Total time: 5 seconds  
asked
1 answers
1

These errors look like simple errors in the Java code: either a missing import or the signature of the method has changed. The easiest fix would be to download a newer version of the SSO module and see if it's fixed there.

 

If that doesn't work, you can fix these errors yourself: if you deploy your project for Eclipse (default button F6) and import the project in Eclipse, these errors will show up. If you hover over them, Eclipse will suggest a fix. Either to import Core or to add or remove parameters. You can check the method in the API docs.

answered