diff --git a/service-cli/service-cli-runner/src/main/java/com/lanyuanxiaoyao/service/cli/runner/RunnerApplication.java b/service-cli/service-cli-runner/src/main/java/com/lanyuanxiaoyao/service/cli/runner/RunnerApplication.java index 4250fc0..6ce96c6 100644 --- a/service-cli/service-cli-runner/src/main/java/com/lanyuanxiaoyao/service/cli/runner/RunnerApplication.java +++ b/service-cli/service-cli-runner/src/main/java/com/lanyuanxiaoyao/service/cli/runner/RunnerApplication.java @@ -102,7 +102,7 @@ public class RunnerApplication implements ApplicationRunner { String absolutRootPath = root.toAbsolutePath().toString(); logger.info("Current path: {}", absolutRootPath); - Path planPath = Paths.get("deploy.plan"); + Path planPath = Paths.get(root.toString(), "deploy.plan"); Map> deployPlans = new HashMap<>(); if (Files.exists(planPath) && !deployInformationProperties.getShuffler()) { deployPlans = mapper.readValue(new String(Files.readAllBytes(planPath)), new TypeReference>>() {});