Question

1
Replies
56
Views
Benjamin Hui (BenjaminHui)
CGI
Pega Practice Lead
CGI
US
BenjaminHui Member since 2011 18 posts
CGI
Posted: August 18, 2020
Last activity: August 19, 2020
Posted: 18 Aug 2020 14:35 EDT
Last activity: 19 Aug 2020 19:29 EDT
Solved

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?

Thanks

 

***Edited by Moderator Marissa to update Platform Capability tags****

Pega Platform 8.4 System Administration