天行健,君子以自强不息。——《周易》
/Users/achao/IdeaProjects/incubator-streampark/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/controller/ApplicationBuildPipelineController.java:113:2 `)' expected but eof found. }
解决办法很简单,首先注释掉/删除掉,启动项目
然后是类似的报错
/Users/achao/IdeaProjects/incubator-streampark/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/controller/ApplicationController.java:439:2 `)' expected but eof found. }
同样先注释或者删掉,直接启动项目,发现编译成功!
当然,熟悉的报错
2023-09-06 14:49:18 | ERROR | main | org.springframework.boot.SpringApplication:821] Application run failed java.lang.ExceptionInInitializerError: [StreamPark] System initialization check failed, The system initialization check failed. If started local for development and debugging, please ensure the -Dapp.home parameter is clearly specified, more detail: https://streampark.apache.org/docs/user-guide/deployment
在配置中加上
-Dapp.home=streampark-console/streampark-console-service/target/apache-streampark-2.2.0-SNAPSHOT-incubating-bin/apache-streampark_2.12-2.2.0-SNAPSHOT-incubating-bin
再解除注释或者ctrl+alt+z
回滚过来,再次启动项目
成功!!!