mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-03-04 08:52:27 -05:00
CloudBeaver build fails due to incompatible DBeaver version #970
Labels
No labels
AS
can't reproduce
can't reproduce
deployment
development
documentation
duplicate
duplicate
ee
enhancement
external
new driver
performance
third party issue
wait for response
wait for review
wontfix
x:Oracle
x:cassandra
x:clickhouse
x:db2
x:duckdb
x:greenplum
x:h2
x:h2gis
x:hana
x:hive
x:intersystems
x:kyuubi
x:maria
x:mongo
x:mysql
x:postgresql
x:presto
x:sql server
x:sqlite
x:teradata
x:trino
xf:accessibility
xf:administration
xf:authentication
xf:aws
xf:commit-mode
xf:connection
xf:data editor
xf:datatransfer
xf:dba
xf:driver management
xf:erd
xf:filters
xf:i18n
xf:i18n
xf:installer
xf:json
xf:ldap
xf:local config
xf:log viewer
xf:metadata
xf:metadata editor
xf:navigator
xf:okta
xf:query manager
xf:resource manager
xf:scripts
xf:sql editor
xf:tasks
xf:ui/uix
xo: Firefox
xo:eclipse
xo:internet explorer
xo:macos
xp:major
xrn:internal
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cloudbeaver#970
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @maryam4s26 on GitHub (Sep 4, 2025).
Description
When building CloudBeaver using the current build.sh script, the build fails with errors like:
The backend build script build-backend.sh always clones the latest master branches of the DBeaver repositories (dbeaver, dbeaver-common, dbeaver-jdbc-libsql):
CloudBeaver is tightly coupled with specific DBeaver versions, so using a mismatched DBeaver version breaks the build.
Proposed solution
Update the build script to clone the DBeaver version that matches the CloudBeaver version being built, instead of always pulling the latest master. This will ensure compatibility and successful builds.
Additional notes
• The compilation fails specifically in:
cloudbeaver/server/bundles/io.cloudbeaver.model/src/io/cloudbeaver/model/cli/CloudBeaverInstanceServer.java• The error is caused by the missing class:
import org.jkiss.dbeaver.model.cli.CmdProcessResult;link.
This class was removed in the newer DBeaver versions.
Steps to reproduce
./deploy/build.shExpected/Desired Behavior
The build should complete successfully without compilation errors.
CloudBeaver Version
25.1.2
Additional context
No response
@dariamarutkina commented on GitHub (Sep 4, 2025):
Hello, @maryam4s26 !
Could you please update your repositories to the latest state?
git pull.develbranch and rungit pullas well.After that, try rebuilding CloudBeaver - the error should be resolved 🦫
@maryam4s26 commented on GitHub (Sep 4, 2025):
Thanks @dariamarutkina for the suggestion! 😅
This seems more like a temporary workaround rather than a proper fix. The root cause is that the CloudBeaver build script always pulls the latest master branches of DBeaver, which may not be compatible with the CloudBeaver version we’re building.
I specifically want to use a fixed DBeaver version, so constantly updating to the latest master is not ideal. A proper solution would be to either target a specific DBeaver release in the CloudBeaver repo or specify the exact dependency versions in the backend build file.
As a proper solution, we can update the build-backend.sh script to clone specific branches of the DBeaver repositories that match the CloudBeaver version we are building. For example:
This ensures that the dependencies are consistent with the CloudBeaver version, avoiding missing classes or 404 icon issues in production.
To properly address this issue, either the CloudBeaver documentation should clearly specify the compatible DBeaver versions, or the build-backend.sh script should be updated to always use the correct versions. This will ensure consistent builds and prevent missing dependencies or broken features.
@dariamarutkina commented on GitHub (Sep 4, 2025):
Thank you for the feature suggestion! 🙏
You’re right, it would be helpful to adjust the script so it uses the DBeaver release branches for each CloudBeaver version 🦫