Failure to build following build-and-deploy instructions #1015

Open
opened 2026-03-04 11:33:23 -05:00 by deekerman · 3 comments
Owner

Originally created by @theimpostor on GitHub (Oct 19, 2025).

Description

I am getting the following error following the ubuntu build from the wiki

36.52 [WARNING] Error injecting: org.eclipse.tycho.core.maven.TargetPlatformWorkspaceReader
36.52 com.google.inject.ProvisionException: Unable to provision, see the following errors:
36.52
36.52 1) No implementation for org.eclipse.tycho.targetplatform.TargetPlatformArtifactResolver was bound.
36.52   while locating org.eclipse.tycho.core.maven.TargetPlatformWorkspaceReader

Here is my very simple Dockerfile:

# syntax=docker/dockerfile:1

FROM ubuntu:latest

ENV DEBIAN_FRONTEND=noninteractive

# Install prerequisites and add Node.js/Yarn repositories
RUN apt-get update && apt-get install -y \
    curl \
    ca-certificates \
    gnupg \
    software-properties-common \
    git \
    build-essential \
    python3 \
    unzip && \
    rm -rf /var/lib/apt/lists/*

RUN \
    curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \
    echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && \
    curl -sL https://deb.nodesource.com/setup_22.x | bash -

RUN \
    apt update && \
    apt install -y openjdk-21-jdk maven yarn nodejs

# Clone CloudBeaver repository and build it
RUN \
    git clone https://github.com/dbeaver/cloudbeaver.git && \
    cd cloudbeaver/deploy && \
    ./build.sh

Is there a stable build tag I can use?

Steps to reproduce

Create the dockerfile as above, do docker build .

Expected/Desired Behavior

build succeeds

CloudBeaver Version

devel branch, tried with 25.2.2 also

Additional context

Using docker on mac os, amd64.

Originally created by @theimpostor on GitHub (Oct 19, 2025). ### Description I am getting the following error following the [ubuntu build](https://github.com/dbeaver/cloudbeaver/wiki/Build-and-deploy#install-prerequisites-on-ubuntu) from the wiki ``` 36.52 [WARNING] Error injecting: org.eclipse.tycho.core.maven.TargetPlatformWorkspaceReader 36.52 com.google.inject.ProvisionException: Unable to provision, see the following errors: 36.52 36.52 1) No implementation for org.eclipse.tycho.targetplatform.TargetPlatformArtifactResolver was bound. 36.52 while locating org.eclipse.tycho.core.maven.TargetPlatformWorkspaceReader ``` Here is my very simple Dockerfile: ``` # syntax=docker/dockerfile:1 FROM ubuntu:latest ENV DEBIAN_FRONTEND=noninteractive # Install prerequisites and add Node.js/Yarn repositories RUN apt-get update && apt-get install -y \ curl \ ca-certificates \ gnupg \ software-properties-common \ git \ build-essential \ python3 \ unzip && \ rm -rf /var/lib/apt/lists/* RUN \ curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \ echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && \ curl -sL https://deb.nodesource.com/setup_22.x | bash - RUN \ apt update && \ apt install -y openjdk-21-jdk maven yarn nodejs # Clone CloudBeaver repository and build it RUN \ git clone https://github.com/dbeaver/cloudbeaver.git && \ cd cloudbeaver/deploy && \ ./build.sh ``` Is there a stable build tag I can use? ### Steps to reproduce Create the dockerfile as above, do `docker build .` ### Expected/Desired Behavior build succeeds ### CloudBeaver Version devel branch, tried with 25.2.2 also ### Additional context Using docker on mac os, amd64.
Author
Owner

@theimpostor commented on GitHub (Oct 19, 2025):

Full error log: logs.txt

@theimpostor commented on GitHub (Oct 19, 2025): Full error log: [logs.txt](https://github.com/user-attachments/files/22991717/logs.txt)
Author
Owner

@theimpostor commented on GitHub (Oct 19, 2025):

Well, seems like it works if I explicitly check everything out with tag 25.1.5. That's the last tag that is consistently applied across the repos. Also there were some gotchas with the maven version and yarn version.

# syntax=docker/dockerfile:1

FROM buildpack-deps:noble

ARG DEBIAN_FRONTEND=noninteractive

RUN curl -sL https://deb.nodesource.com/setup_22.x | bash -

RUN apt update && \
    apt install -y openjdk-21-jdk nodejs

# Enable Corepack and activate Yarn 4.x required by the project
RUN corepack enable && corepack prepare yarn@4.9.2 --activate

RUN curl -fsSL https://dlcdn.apache.org/maven/maven-3/3.9.11/binaries/apache-maven-3.9.11-bin.tar.gz | tar xzvC /opt

ENV PATH="/opt/apache-maven-3.9.11/bin:${PATH}"

WORKDIR /opt

ARG DBEAVER_TAG=25.1.5

RUN git clone --depth 1 --branch "$DBEAVER_TAG" --single-branch https://github.com/dbeaver/cloudbeaver.git

RUN git clone --depth 1 --branch "$DBEAVER_TAG" --single-branch https://github.com/dbeaver/dbeaver.git

RUN git clone --depth 1 --branch "$DBEAVER_TAG" --single-branch https://github.com/dbeaver/dbeaver-common.git

RUN git clone --depth 1 --branch "$DBEAVER_TAG" --single-branch https://github.com/dbeaver/dbeaver-jdbc-libsql.git

RUN cd cloudbeaver/deploy && ./build.sh

WORKDIR /opt/cloudbeaver
@theimpostor commented on GitHub (Oct 19, 2025): Well, seems like it works if I explicitly check everything out with tag 25.1.5. That's the last tag that is consistently applied across the repos. Also there were some gotchas with the maven version and yarn version. ```Dockerfile # syntax=docker/dockerfile:1 FROM buildpack-deps:noble ARG DEBIAN_FRONTEND=noninteractive RUN curl -sL https://deb.nodesource.com/setup_22.x | bash - RUN apt update && \ apt install -y openjdk-21-jdk nodejs # Enable Corepack and activate Yarn 4.x required by the project RUN corepack enable && corepack prepare yarn@4.9.2 --activate RUN curl -fsSL https://dlcdn.apache.org/maven/maven-3/3.9.11/binaries/apache-maven-3.9.11-bin.tar.gz | tar xzvC /opt ENV PATH="/opt/apache-maven-3.9.11/bin:${PATH}" WORKDIR /opt ARG DBEAVER_TAG=25.1.5 RUN git clone --depth 1 --branch "$DBEAVER_TAG" --single-branch https://github.com/dbeaver/cloudbeaver.git RUN git clone --depth 1 --branch "$DBEAVER_TAG" --single-branch https://github.com/dbeaver/dbeaver.git RUN git clone --depth 1 --branch "$DBEAVER_TAG" --single-branch https://github.com/dbeaver/dbeaver-common.git RUN git clone --depth 1 --branch "$DBEAVER_TAG" --single-branch https://github.com/dbeaver/dbeaver-jdbc-libsql.git RUN cd cloudbeaver/deploy && ./build.sh WORKDIR /opt/cloudbeaver ```
Author
Owner

@dariamarutkina commented on GitHub (Oct 22, 2025):

Hello, @theimpostor !
Thanks a lot for the detailed report!
The project now uses Tycho 5.0, which requires Maven 3.9.9 or newer. We’ll update the build instructions in the wiki to reflect this requirement.
Also, if you just need to run CloudBeaver in Docker, you can use the existing Dockerfile from deploy/docker
or pull the latest official image from Docker Hub 🦫

@dariamarutkina commented on GitHub (Oct 22, 2025): Hello, @theimpostor ! Thanks a lot for the detailed report! The project now uses Tycho 5.0, which requires Maven 3.9.9 or newer. We’ll update the build instructions in the wiki to reflect this requirement. Also, if you just need to run CloudBeaver in Docker, you can use the existing Dockerfile from [deploy/docker](https://github.com/dbeaver/cloudbeaver/tree/devel/deploy/docker) or pull the latest official image from [Docker Hub ](https://hub.docker.com/r/dbeaver/cloudbeaver/tags) 🦫
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cloudbeaver#1015
No description provided.