Skip to content

build.bat failed to execute #4122

@panda0120

Description

@panda0120

Description

I am using Windows 11 on my computer, and the dependent environments have been installed correctly (OpenJDK 21, Maven 3.9.12, node-v22, yarn-4.12.0). However, when I execute the file deploy/build.bat, an error occurs:
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 03:45 min
[INFO] Finished at: 2026-02-10T09:35:25+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:5.0.1:compile (default-compile) on project io.cloudbeaver.model.cli: Compilation failure: Compilation failure:
[ERROR] /C:/Users/Lenovo/IdeaProjects/dbeaver-all/cloudbeaver/server/bundles/io.cloudbeaver.model.cli/src/io/cloudbeaver/model/cli/CloudBeaverCommandLine.java:[48,18] 找不到符号
[ERROR] 符号: 类 CommandLineContext
[ERROR] 位置: 类 io.cloudbeaver.model.cli.CloudBeaverCommandLine
[ERROR] /C:/Users/Lenovo/IdeaProjects/dbeaver-all/cloudbeaver/server/bundles/io.cloudbeaver.model.cli/src/io/cloudbeaver/model/cli/CloudBeaverTopLevelCommand.java:[23,35] 找不到符号
[ERROR] 符号: 类 CommandLineContext
[ERROR] 位置: 程序包 org.jkiss.dbeaver.model.cli
[ERROR] /C:/Users/Lenovo/IdeaProjects/dbeaver-all/cloudbeaver/server/bundles/io.cloudbeaver.model.cli/src/io/cloudbeaver/model/cli/CloudBeaverCommandLine.java:[61,18] 找不到符号
[ERROR] 符号: 类 CommandLineContext
[ERROR] 位置: 类 io.cloudbeaver.model.cli.CloudBeaverCommandLine
[ERROR] /C:/Users/Lenovo/IdeaProjects/dbeaver-all/cloudbeaver/server/bundles/io.cloudbeaver.model.cli/src/io/cloudbeaver/model/cli/CloudBeaverTopLevelCommand.java:[38,18] 找不到符号
[ERROR] 符号: 类 CommandLineContext
[ERROR] 位置: 类 io.cloudbeaver.model.cli.CloudBeaverTopLevelCommand
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
The complete log is as follows.:

xxx.log

Steps to reproduce

cd deploy
./build.bat

Expected/Desired Behavior

build success

CloudBeaver Version

release_25_3_4

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions