GangLiCN commented on issue #8226: URL: https://github.com/apache/seatunnel/issues/8226#issuecomment-2522505281
> > Win11 运行失败的截图如下:  > > 我执行上面的命令时,都还没到你这一步就直接报错了。  > > 我本机打印出来的日期格式如下:  > > seatunnl.cmd 这个脚本中的解析日期的方式,没有把上面日期格式中的 **周五** 给去掉,所以最终文件名中包含了 **周五** ,最终导致了报错:找不到或无法加载主类 看一下你的环境中 日期/时间的设置是不是有什么问题,我的环境中执行echo %date% 返回的是"2024/12/06 周五", 周五出现在后边,而你给出的截图,星期出现在前面,这就是脚本为什么出错的原因。。。 建议: 修改这个脚本,去掉 乱七八糟的一大堆和时间相关的代码: set "JAVA_OPTS=%JAVA_OPTS% -Dseatunnel.logs.file_name=seatunnel-starter-client-!date:~0,4!!date:~5,2!!date:~8,2!-!time:~0,2!!time:~3,2!!time:~6,2!!ntime!" -> 直接改成 set "JAVA_OPTS=%JAVA_OPTS% -Dseatunnel.logs.file_name=seatunnel-starter-client.log" 重新运行脚本应该就可以了。 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@seatunnel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org