Check the logs from the cache servers for the following messages:
[error 2020/04/08 08:44:13.509 UTC cacheserver-66635efd-2d0b-427a-9b77-ac7370c9301a <main> tid=0x1] java.lang.NoClassDefFoundError: com/company/service/MyFunction
[error 2020/04/08 06:13:53.191 UTC cacheserver-66635efd-2d0b-427a-9b77-ac7370c9301a <main> tid=0x1] Unable to load all classes from JAR file: /var/vcap/store/gemfire-server/myJarV3.jar
The above messages indicate that the class
MyFunction could not be found in the deployed jar called
myJarV3.jar. This might be due to an issue with the deployment pipeline.
Make sure that the needed classes are all added to the jars. Redeploy and restart the service instance.