MuleSoft:将代码移至 CloudHub 时无法找到文件。有人可以帮忙吗。我已阅读您的建议,但无法理解。我必须在 cloudhub 中读取一个 json 文件。在我的本地存储库中,我将 .json 文件保存在位置 test/src/main/resources/input.json 中。并从 Java 类中阅读
私有静态最终字符串 jsonFilePath = "src\main\resources\input.json";
byte[] jsonFile = Files.readAllBytes(Paths.get(jsonFilePath));
任何帮助将不胜感激。