Posted: 18 Aug 2020 14:35 EDT Last activity: 19 Aug 2020 19:29 EDT
Function fails to compile due to its own cached class
In Pega 8.4, we have a old function that is referencing another class which has been changes its class path. So I open the function and change the class and click the test compilation. The system gives out error while generating java and the error is that that function's generated class in PRGenJava is pointing to the wrong class path. So I am guessing I need to clear the class cache. I goto the Pega API and invoke the clear rule cache, but the generated java class is still there in the file system and the compile error still exists.
Did I use the incorrect Pega API to clear the generated class? What is the best way to resolve this?
***Edited by Moderator Marissa to update Platform Capability tags****