'Unable to read file using classpath in AKS

We are migrating the project from PCF to the AKS cluster. We are unable to read the file from the resource folder using classpath in AKS while it is working fine with PCF. To resolve this issue we are using the ResourceUtil.getFiles() but still, we are unable to find the root cause for this particular issue. Please suggest the reason for this. We are trying to find RCA for this issue.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source