Upgrading project from 8.18 to 9.20

0
I am trying to upgrade my app from 8.18 to 9.20. I started by exporting the current project and then create a new 9.20 application on the team server and then importing the project into the new one. I did this as a caustionary measure so I dont loose any data or microflows. When I go to locally run the new 9.20 project I get a “Compliation of Java actions failed” error. The error details are below. I am trying to understand what the problem is here and how to fix it.   Buildfile: C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\deployment\build_core.xml compile:     [javac] Compiling 451 source files to C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\deployment\run\bin     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\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] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\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] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\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] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\AccountConnecter.java:54: error: cannot find symbol     [javac]             throw new java.lang.IllegalArgumentException(String.format("The given object is not a %s", entityName));     [javac]                                                                ^     [javac]   symbol:   method format(java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\AccountConnecter.java:90: error: cannot find symbol     [javac]         return com.mendix.core.Core.createXPathQuery(String.format("//%1$s%2$s", entityName, xpathConstraint))     [javac]                                                            ^     [javac]   symbol:   method format(java.lang.String,java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\TestData.java:56: error: cannot find symbol     [javac]             throw new java.lang.IllegalArgumentException(String.format("The given object is not a %s", entityName));     [javac]                                                                ^     [javac]   symbol:   method format(java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\TestData.java:92: error: cannot find symbol     [javac]         return com.mendix.core.Core.createXPathQuery(String.format("//%1$s%2$s", entityName, xpathConstraint))     [javac]                                                            ^     [javac]   symbol:   method format(java.lang.String,java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\AvailabilityBlock.java:82: error: cannot find symbol     [javac]             throw new java.lang.IllegalArgumentException(String.format("The given object is not a %s", entityName));     [javac]                                                                ^     [javac]   symbol:   method format(java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\AvailabilityBlock.java:118: error: cannot find symbol     [javac]         return com.mendix.core.Core.createXPathQuery(String.format("//%1$s%2$s", entityName, xpathConstraint))     [javac]                                                            ^     [javac]   symbol:   method format(java.lang.String,java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\Resource.java:67: error: cannot find symbol     [javac]             throw new java.lang.IllegalArgumentException(String.format("The given object is not a %s", entityName));     [javac]                                                                ^     [javac]   symbol:   method format(java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\Resource.java:103: error: cannot find symbol     [javac]         return com.mendix.core.Core.createXPathQuery(String.format("//%1$s%2$s", entityName, xpathConstraint))     [javac]                                                            ^     [javac]   symbol:   method format(java.lang.String,java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\Week.java:62: error: cannot find symbol     [javac]             throw new java.lang.IllegalArgumentException(String.format("The given object is not a %s", entityName));     [javac]                                                                ^     [javac]   symbol:   method format(java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\Week.java:98: error: cannot find symbol     [javac]         return com.mendix.core.Core.createXPathQuery(String.format("//%1$s%2$s", entityName, xpathConstraint))     [javac]                                                            ^     [javac]   symbol:   method format(java.lang.String,java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\StaffedProjectSummary.java:67: error: cannot find symbol     [javac]             throw new java.lang.IllegalArgumentException(String.format("The given object is not a %s", entityName));     [javac]                                                                ^     [javac]   symbol:   method format(java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\StaffedProjectSummary.java:103: error: cannot find symbol     [javac]         return com.mendix.core.Core.createXPathQuery(String.format("//%1$s%2$s", entityName, xpathConstraint))     [javac]                                                            ^     [javac]   symbol:   method format(java.lang.String,java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\StaffedProspectProjectSummary.java:67: error: cannot find symbol     [javac]             throw new java.lang.IllegalArgumentException(String.format("The given object is not a %s", entityName));     [javac]                                                                ^     [javac]   symbol:   method format(java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\StaffedProspectProjectSummary.java:103: error: cannot find symbol     [javac]         return com.mendix.core.Core.createXPathQuery(String.format("//%1$s%2$s", entityName, xpathConstraint))     [javac]                                                            ^     [javac]   symbol:   method format(java.lang.String,java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\Pillar.java:51: error: cannot find symbol     [javac]             throw new java.lang.IllegalArgumentException(String.format("The given object is not a %s", entityName));     [javac]                                                                ^     [javac]   symbol:   method format(java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\Pillar.java:87: error: cannot find symbol     [javac]         return com.mendix.core.Core.createXPathQuery(String.format("//%1$s%2$s", entityName, xpathConstraint))     [javac]                                                            ^     [javac]   symbol:   method format(java.lang.String,java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\Office.java:53: error: cannot find symbol     [javac]             throw new java.lang.IllegalArgumentException(String.format("The given object is not a %s", entityName));     [javac]                                                                ^     [javac]   symbol:   method format(java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\Office.java:89: error: cannot find symbol     [javac]         return com.mendix.core.Core.createXPathQuery(String.format("//%1$s%2$s", entityName, xpathConstraint))     [javac]                                                            ^     [javac]   symbol:   method format(java.lang.String,java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\Position.java:51: error: cannot find symbol     [javac]             throw new java.lang.IllegalArgumentException(String.format("The given object is not a %s", entityName));     [javac]                                                                ^     [javac]   symbol:   method format(java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\Position.java:87: error: cannot find symbol     [javac]         return com.mendix.core.Core.createXPathQuery(String.format("//%1$s%2$s", entityName, xpathConstraint))     [javac]                                                            ^     [javac]   symbol:   method format(java.lang.String,java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\Individual.java:51: error: cannot find symbol     [javac]             throw new java.lang.IllegalArgumentException(String.format("The given object is not a %s", entityName));     [javac]                                                                ^     [javac]   symbol:   method format(java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\Individual.java:87: error: cannot find symbol     [javac]         return com.mendix.core.Core.createXPathQuery(String.format("//%1$s%2$s", entityName, xpathConstraint))     [javac]                                                            ^     [javac]   symbol:   method format(java.lang.String,java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\NewPillar.java:51: error: cannot find symbol     [javac]             throw new java.lang.IllegalArgumentException(String.format("The given object is not a %s", entityName));     [javac]                                                                ^     [javac]   symbol:   method format(java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\NewPillar.java:87: error: cannot find symbol     [javac]         return com.mendix.core.Core.createXPathQuery(String.format("//%1$s%2$s", entityName, xpathConstraint))     [javac]                                                            ^     [javac]   symbol:   method format(java.lang.String,java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\BDHoursContextForm.java:51: error: cannot find symbol     [javac]             throw new java.lang.IllegalArgumentException(String.format("The given object is not a %s", entityName));     [javac]                                                                ^     [javac]   symbol:   method format(java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\BDHoursContextForm.java:87: error: cannot find symbol     [javac]         return com.mendix.core.Core.createXPathQuery(String.format("//%1$s%2$s", entityName, xpathConstraint))     [javac]                                                            ^     [javac]   symbol:   method format(java.lang.String,java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\BDHoursReport.java:55: error: cannot find symbol     [javac]             throw new java.lang.IllegalArgumentException(String.format("The given object is not a %s", entityName));     [javac]                                                                ^     [javac]   symbol:   method format(java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\BDHoursReport.java:91: error: cannot find symbol     [javac]         return com.mendix.core.Core.createXPathQuery(String.format("//%1$s%2$s", entityName, xpathConstraint))     [javac]                                                            ^     [javac]   symbol:   method format(java.lang.String,java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\BlockOverview.java:66: error: cannot find symbol     [javac]             throw new java.lang.IllegalArgumentException(String.format("The given object is not a %s", entityName));     [javac]                                                                ^     [javac]   symbol:   method format(java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\BlockOverview.java:102: error: cannot find symbol     [javac]         return com.mendix.core.Core.createXPathQuery(String.format("//%1$s%2$s", entityName, xpathConstraint))     [javac]                                                            ^     [javac]   symbol:   method format(java.lang.String,java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\Client.java:58: error: cannot find symbol     [javac]             throw new java.lang.IllegalArgumentException(String.format("The given object is not a %s", entityName));     [javac]                                                                ^     [javac]   symbol:   method format(java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\Client.java:94: error: cannot find symbol     [javac]         return com.mendix.core.Core.createXPathQuery(String.format("//%1$s%2$s", entityName, xpathConstraint))     [javac]                                                            ^     [javac]   symbol:   method format(java.lang.String,java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\Industry.java:51: error: cannot find symbol     [javac]             throw new java.lang.IllegalArgumentException(String.format("The given object is not a %s", entityName));     [javac]                                                                ^     [javac]   symbol:   method format(java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\Industry.java:87: error: cannot find symbol     [javac]         return com.mendix.core.Core.createXPathQuery(String.format("//%1$s%2$s", entityName, xpathConstraint))     [javac]                                                            ^     [javac]   symbol:   method format(java.lang.String,java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\ClientContact.java:65: error: cannot find symbol     [javac]             throw new java.lang.IllegalArgumentException(String.format("The given object is not a %s", entityName));     [javac]                                                                ^     [javac]   symbol:   method format(java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\ClientContact.java:101: error: cannot find symbol     [javac]         return com.mendix.core.Core.createXPathQuery(String.format("//%1$s%2$s", entityName, xpathConstraint))     [javac]                                                            ^     [javac]   symbol:   method format(java.lang.String,java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\ClientCount.java:50: error: cannot find symbol     [javac]             throw new java.lang.IllegalArgumentException(String.format("The given object is not a %s", entityName));     [javac]                                                                ^     [javac]   symbol:   method format(java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\ClientCount.java:86: error: cannot find symbol     [javac]         return com.mendix.core.Core.createXPathQuery(String.format("//%1$s%2$s", entityName, xpathConstraint))     [javac]                                                            ^     [javac]   symbol:   method format(java.lang.String,java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\CloseoutTracker.java:79: error: cannot find symbol     [javac]             throw new java.lang.IllegalArgumentException(String.format("The given object is not a %s", entityName));     [javac]                                                                ^     [javac]   symbol:   method format(java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\CloseoutTracker.java:115: error: cannot find symbol     [javac]         return com.mendix.core.Core.createXPathQuery(String.format("//%1$s%2$s", entityName, xpathConstraint))     [javac]                                                            ^     [javac]   symbol:   method format(java.lang.String,java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\Project.java:90: error: cannot find symbol     [javac]             throw new java.lang.IllegalArgumentException(String.format("The given object is not a %s", entityName));     [javac]                                                                ^     [javac]   symbol:   method format(java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\Project.java:126: error: cannot find symbol     [javac]         return com.mendix.core.Core.createXPathQuery(String.format("//%1$s%2$s", entityName, xpathConstraint))     [javac]                                                            ^     [javac]   symbol:   method format(java.lang.String,java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\ProjectCompletion.java:52: error: cannot find symbol     [javac]             throw new java.lang.IllegalArgumentException(String.format("The given object is not a %s", entityName));     [javac]                                                                ^     [javac]   symbol:   method format(java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\ProjectCompletion.java:88: error: cannot find symbol     [javac]         return com.mendix.core.Core.createXPathQuery(String.format("//%1$s%2$s", entityName, xpathConstraint))     [javac]                                                            ^     [javac]   symbol:   method format(java.lang.String,java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\ProjectType.java:51: error: cannot find symbol     [javac]             throw new java.lang.IllegalArgumentException(String.format("The given object is not a %s", entityName));     [javac]                                                                ^     [javac]   symbol:   method format(java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\ProjectType.java:87: error: cannot find symbol     [javac]         return com.mendix.core.Core.createXPathQuery(String.format("//%1$s%2$s", entityName, xpathConstraint))     [javac]                                                            ^     [javac]   symbol:   method format(java.lang.String,java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\Status.java:51: error: cannot find symbol     [javac]             throw new java.lang.IllegalArgumentException(String.format("The given object is not a %s", entityName));     [javac]                                                                ^     [javac]   symbol:   method format(java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\Status.java:87: error: cannot find symbol     [javac]         return com.mendix.core.Core.createXPathQuery(String.format("//%1$s%2$s", entityName, xpathConstraint))     [javac]                                                            ^     [javac]   symbol:   method format(java.lang.String,java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\XLSFile.java:49: error: cannot find symbol     [javac]             throw new java.lang.IllegalArgumentException(String.format("The given object is not a %s", entityName));     [javac]                                                                ^     [javac]   symbol:   method format(java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\XLSFile.java:82: error: cannot find symbol     [javac]         return com.mendix.core.Core.createXPathQuery(String.format("//%1$s%2$s", entityName, xpathConstraint))     [javac]                                                            ^     [javac]   symbol:   method format(java.lang.String,java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\ProjectDetail.java:93: error: cannot find symbol     [javac]             throw new java.lang.IllegalArgumentException(String.format("The given object is not a %s", entityName));     [javac]                                                                ^     [javac]   symbol:   method format(java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\ProjectDetail.java:129: error: cannot find symbol     [javac]         return com.mendix.core.Core.createXPathQuery(String.format("//%1$s%2$s", entityName, xpathConstraint))     [javac]                                                            ^     [javac]   symbol:   method format(java.lang.String,java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\ProjectStatusSummary.java:61: error: cannot find symbol     [javac]             throw new java.lang.IllegalArgumentException(String.format("The given object is not a %s", entityName));     [javac]                                                                ^     [javac]   symbol:   method format(java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\ProjectStatusSummary.java:97: error: cannot find symbol     [javac]         return com.mendix.core.Core.createXPathQuery(String.format("//%1$s%2$s", entityName, xpathConstraint))     [javac]                                                            ^     [javac]   symbol:   method format(java.lang.String,java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\ProjectCloseout.java:67: error: cannot find symbol     [javac]             throw new java.lang.IllegalArgumentException(String.format("The given object is not a %s", entityName));     [javac]                                                                ^     [javac]   symbol:   method format(java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\ProjectCloseout.java:103: error: cannot find symbol     [javac]         return com.mendix.core.Core.createXPathQuery(String.format("//%1$s%2$s", entityName, xpathConstraint))     [javac]                                                            ^     [javac]   symbol:   method format(java.lang.String,java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\MonthlyProjectSummary.java:55: error: cannot find symbol     [javac]             throw new java.lang.IllegalArgumentException(String.format("The given object is not a %s", entityName));     [javac]                                                                ^     [javac]   symbol:   method format(java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\MonthlyProjectSummary.java:91: error: cannot find symbol     [javac]         return com.mendix.core.Core.createXPathQuery(String.format("//%1$s%2$s", entityName, xpathConstraint))     [javac]                                                            ^     [javac]   symbol:   method format(java.lang.String,java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\FeesSummary.java:69: error: cannot find symbol     [javac]             throw new java.lang.IllegalArgumentException(String.format("The given object is not a %s", entityName));     [javac]                                                                ^     [javac]   symbol:   method format(java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\FeesSummary.java:105: error: cannot find symbol     [javac]         return com.mendix.core.Core.createXPathQuery(String.format("//%1$s%2$s", entityName, xpathConstraint))     [javac]                                                            ^     [javac]   symbol:   method format(java.lang.String,java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\PMOContextForm.java:56: error: cannot find symbol     [javac]             throw new java.lang.IllegalArgumentException(String.format("The given object is not a %s", entityName));     [javac]                                                                ^     [javac]   symbol:   method format(java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\PMOContextForm.java:92: error: cannot find symbol     [javac]         return com.mendix.core.Core.createXPathQuery(String.format("//%1$s%2$s", entityName, xpathConstraint))     [javac]                                                            ^     [javac]   symbol:   method format(java.lang.String,java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\PMConnector.java:51: error: cannot find symbol     [javac]             throw new java.lang.IllegalArgumentException(String.format("The given object is not a %s", entityName));     [javac]                                                                ^     [javac]   symbol:   method format(java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\PMConnector.java:87: error: cannot find symbol     [javac]         return com.mendix.core.Core.createXPathQuery(String.format("//%1$s%2$s", entityName, xpathConstraint))     [javac]                                                            ^     [javac]   symbol:   method format(java.lang.String,java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\OrderEntry.java:65: error: cannot find symbol     [javac]             throw new java.lang.IllegalArgumentException(String.format("The given object is not a %s", entityName));     [javac]                                                                ^     [javac]   symbol:   method format(java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\OrderEntry.java:101: error: cannot find symbol     [javac]         return com.mendix.core.Core.createXPathQuery(String.format("//%1$s%2$s", entityName, xpathConstraint))     [javac]                                                            ^     [javac]   symbol:   method format(java.lang.String,java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\ICCDetails.java:70: error: cannot find symbol     [javac]             throw new java.lang.IllegalArgumentException(String.format("The given object is not a %s", entityName));     [javac]                                                                ^     [javac]   symbol:   method format(java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\ICCDetails.java:106: error: cannot find symbol     [javac]         return com.mendix.core.Core.createXPathQuery(String.format("//%1$s%2$s", entityName, xpathConstraint))     [javac]                                                            ^     [javac]   symbol:   method format(java.lang.String,java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\ExtendedExchangeRates.java:66: error: cannot find symbol     [javac]             throw new java.lang.IllegalArgumentException(String.format("The given object is not a %s", entityName));     [javac]                                                                ^     [javac]   symbol:   method format(java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\ExtendedExchangeRates.java:102: error: cannot find symbol     [javac]         return com.mendix.core.Core.createXPathQuery(String.format("//%1$s%2$s", entityName, xpathConstraint))     [javac]                                                            ^     [javac]   symbol:   method format(java.lang.String,java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\ControlOfHours_UserView_DataGrid.java:48: error: cannot find symbol     [javac]             throw new java.lang.IllegalArgumentException(String.format("The given object is not a %s", entityName));     [javac]                                                                ^     [javac]   symbol:   method format(java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\Date.java:50: error: cannot find symbol     [javac]             throw new java.lang.IllegalArgumentException(String.format("The given object is not a %s", entityName));     [javac]                                                                ^     [javac]   symbol:   method format(java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\Date.java:86: error: cannot find symbol     [javac]         return com.mendix.core.Core.createXPathQuery(String.format("//%1$s%2$s", entityName, xpathConstraint))     [javac]                                                            ^     [javac]   symbol:   method format(java.lang.String,java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\FeeDetail.java:60: error: cannot find symbol     [javac]             throw new java.lang.IllegalArgumentException(String.format("The given object is not a %s", entityName));     [javac]                                                                ^     [javac]   symbol:   method format(java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\FeeDetail.java:96: error: cannot find symbol     [javac]         return com.mendix.core.Core.createXPathQuery(String.format("//%1$s%2$s", entityName, xpathConstraint))     [javac]                                                            ^     [javac]   symbol:   method format(java.lang.String,java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\Rate.java:57: error: cannot find symbol     [javac]             throw new java.lang.IllegalArgumentException(String.format("The given object is not a %s", entityName));     [javac]                                                                ^     [javac]   symbol:   method format(java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\Rate.java:93: error: cannot find symbol     [javac]         return com.mendix.core.Core.createXPathQuery(String.format("//%1$s%2$s", entityName, xpathConstraint))     [javac]                                                            ^     [javac]   symbol:   method format(java.lang.String,java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Reece Heald\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\HoursContextFormEntry.java:54: error: cannot find symbol     [javac]             throw new java.lang.IllegalArgumentException(String.format("The given object is not a %s", entityName));     [javac]                                                                ^     [javac]   symbol:   method format(java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\user\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\HoursContextFormEntry.java:90: error: cannot find symbol     [javac]         return com.mendix.core.Core.createXPathQuery(String.format("//%1$s%2$s", entityName, xpathConstraint))     [javac]                                                            ^     [javac]   symbol:   method format(java.lang.String,java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\user\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\HoursState.java:50: error: cannot find symbol     [javac]             throw new java.lang.IllegalArgumentException(String.format("The given object is not a %s", entityName));     [javac]                                                                ^     [javac]   symbol:   method format(java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\user\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\HoursState.java:86: error: cannot find symbol     [javac]         return com.mendix.core.Core.createXPathQuery(String.format("//%1$s%2$s", entityName, xpathConstraint))     [javac]                                                            ^     [javac]   symbol:   method format(java.lang.String,java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\user\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\HoursReport.java:59: error: cannot find symbol     [javac]             throw new java.lang.IllegalArgumentException(String.format("The given object is not a %s", entityName));     [javac]                                                                ^     [javac]   symbol:   method format(java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\user\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\HoursReport.java:95: error: cannot find symbol     [javac]         return com.mendix.core.Core.createXPathQuery(String.format("//%1$s%2$s", entityName, xpathConstraint))     [javac]                                                            ^     [javac]   symbol:   method format(java.lang.String,java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\user\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\TypeHours.java:52: error: cannot find symbol     [javac]             throw new java.lang.IllegalArgumentException(String.format("The given object is not a %s", entityName));     [javac]                                                                ^     [javac]   symbol:   method format(java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\user\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\TypeHours.java:88: error: cannot find symbol     [javac]         return com.mendix.core.Core.createXPathQuery(String.format("//%1$s%2$s", entityName, xpathConstraint))     [javac]                                                            ^     [javac]   symbol:   method format(java.lang.String,java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\user\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\HoursReportContextForn.java:54: error: cannot find symbol     [javac]             throw new java.lang.IllegalArgumentException(String.format("The given object is not a %s", entityName));     [javac]                                                                ^     [javac]   symbol:   method format(java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\user\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\HoursReportContextForn.java:90: error: cannot find symbol     [javac]         return com.mendix.core.Core.createXPathQuery(String.format("//%1$s%2$s", entityName, xpathConstraint))     [javac]                                                            ^     [javac]   symbol:   method format(java.lang.String,java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\user\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\HoursSum.java:51: error: cannot find symbol     [javac]             throw new java.lang.IllegalArgumentException(String.format("The given object is not a %s", entityName));     [javac]                                                                ^     [javac]   symbol:   method format(java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\user\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\HoursSum.java:87: error: cannot find symbol     [javac]         return com.mendix.core.Core.createXPathQuery(String.format("//%1$s%2$s", entityName, xpathConstraint))     [javac]                                                            ^     [javac]   symbol:   method format(java.lang.String,java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\user\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\HoursWeekSummary.java:56: error: cannot find symbol     [javac]             throw new java.lang.IllegalArgumentException(String.format("The given object is not a %s", entityName));     [javac]                                                                ^     [javac]   symbol:   method format(java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\user\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\HoursWeekSummary.java:92: error: cannot find symbol     [javac]         return com.mendix.core.Core.createXPathQuery(String.format("//%1$s%2$s", entityName, xpathConstraint))     [javac]                                                            ^     [javac]   symbol:   method format(java.lang.String,java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\user\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\IFRSReport.java:62: error: cannot find symbol     [javac]             throw new java.lang.IllegalArgumentException(String.format("The given object is not a %s", entityName));     [javac]                                                                ^     [javac]   symbol:   method format(java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\user\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\IFRSReport.java:98: error: cannot find symbol     [javac]         return com.mendix.core.Core.createXPathQuery(String.format("//%1$s%2$s", entityName, xpathConstraint))     [javac]                                                            ^     [javac]   symbol:   method format(java.lang.String,java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\user\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\IFRSReportCHO.java:54: error: cannot find symbol     [javac]             throw new java.lang.IllegalArgumentException(String.format("The given object is not a %s", entityName));     [javac]                                                                ^     [javac]   symbol:   method format(java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\userDocuments\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\IFRSReportCHO.java:90: error: cannot find symbol     [javac]         return com.mendix.core.Core.createXPathQuery(String.format("//%1$s%2$s", entityName, xpathConstraint))     [javac]                                                            ^     [javac]   symbol:   method format(java.lang.String,java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\Ruser\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\IFRSReportCHO_2.java:54: error: cannot find symbol     [javac]             throw new java.lang.IllegalArgumentException(String.format("The given object is not a %s", entityName));     [javac]                                                                ^     [javac]   symbol:   method format(java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] C:\Users\user\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\myfirstmodule\proxies\IFRSReportCHO_2.java:90: error: cannot find symbol     [javac]         return com.mendix.core.Core.createXPathQuery(String.format("//%1$s%2$s", entityName, xpathConstraint))     [javac]                                                            ^     [javac]   symbol:   method format(java.lang.String,java.lang.String,java.lang.String)     [javac]   location: class myfirstmodule.proxies.String     [javac] Note: Some input files use or override a deprecated API.     [javac] Note: Recompile with -Xlint:deprecation for details.     [javac] Note: C:\Users\user\Documents\Mendix 9\MATER UPGRADE TEST-main\javasource\mendixsso\implementation\utils\MendixUtils.java uses unchecked or unsafe operations.     [javac] Note: Recompile with -Xlint:unchecked for details.     [javac] 100 errors BUILD FAILED C:\Users\user\Documents\Mendix 9\MATER UPGRADE TEST-main\deployment\build_core.xml:30: Compile failed; see the compiler error output for details. Total time: 35 seconds  
asked
2 answers
1

The first suggestion I have is to review the usrlib folder under “C:\Users\user\Documents\Mendix 9\MATER UPGRADE TEST-main” and remove old versions duplicate jar files.

 

From there you might still have errors due to marketplace modules that need to be updated to support new versions of libraries in Mendix 9. After updating app store modules, you might have to repeat the step above to remove old & duplicate jar files.

 

If you have custom java actions these may also have to be modified to work with the updated libraries and SDK changes in Mendix 9.

 

A recommendation based on my personal experience, I would suggest targeting MTS or LTS versions of Mendix for Production applications.  At present the latest version 9 MTS is 9.18.3.

answered
0

Hi Reece,

 

the way you discibe the upgrade, is not how it (usually) works. If you want to test the upgrade, the best step is to create a branchline, open 9.20 and select “open app locally”, then select the branchline directory. Mendix will ask you now to upgrade the project from 8.18 to 9.20. This way all the microflows are retained and your entities will still have the same id’s. All your data will still be available. If you deploy your newly created application, you will loose all your data, because Mendix will see this as a new application.

 

Mendix 8.18 comes default with the MendixSSO module 3.1.0 and Mendix 9.20 with 3.1.1, did you try and upgrade this module?

 

If the errors still persists, I suggest opening the project with Eclipse and inspect/solve the error from there.

 

 

answered