Failed to build CloudBeaver from source code #973

Open
opened 2026-03-04 11:27:40 -05:00 by deekerman · 0 comments
Owner

Originally created by @LordofAvernus on GitHub (Sep 9, 2025).

Problem Description

Attempting to build CloudBeaver 23.2.2 from source code fails during the build process, preventing successful compilation.dbeaver-common can be compiled successfully, but dbeaver fails to compile.

Environment

  • OS: Linux 5.4.0-1133-kvm (Ubuntu 20.04 LTS)
  • Java Version: OpenJDK 17.0.15
  • Maven Version: Apache Maven 3.9.11
  • CloudBeaver Version: 23.2.2

Build Steps

  1. Git clone repository
  • drwxr-xr-x@ 22 xxxx xxxx 704B 9 9 16:10 cloudbeaver
  • drwxr-xr-x@ 21 xxxx xxxx 672B 9 9 17:28 dbeaver
  • rwxr-xr-x@ 12 xxxx xxxx 384B 9 9 16:14 dbeaver-common
  1. Checkout to 23.2.2 tag
  • git checkout -b dbeaver-23.2.2-dev 23.2.2
  1. Build command
  • sh ~/workspace/dbeaver-ce-dev/cloudbeaver/deploy/build.sh
[INFO] Adding repository https://p2.dev.dbeaver.com/eclipse-repo
[ERROR] Internal error: java.lang.RuntimeException: Failed to load p2 repository with ID 'local-contrib' from location https://p2.dev.dbeaver.com/eclipse-repo/: Unable to read repository at https://p2.dev.dbeaver.com/eclipse-repo. Unknown host p2.dev.dbeaver.com -> [Help 1]
org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: Failed to load p2 repository with ID 'local-contrib' from location https://p2.dev.dbeaver.com/eclipse-repo/
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:109)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:569)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:255)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:201)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:361)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:314)
Caused by: java.lang.RuntimeException: Failed to load p2 repository with ID 'local-contrib' from location https://p2.dev.dbeaver.com/eclipse-repo/
  1. Try to fix
  • Execute mvn clean install in repository
root@localhost:~/workspace/dbeaver-ce-dev/dbeaver-common# 
xml to /root/.m2/repository/com/dbeaver/common/org.jkiss.utils/2.2.0-SNAPSHOT/org.jkiss.utils-2.2.0-SNAPSHOT-p2artifacts.xml
[INFO] 
[INFO] --- tycho-p2:4.0.4:update-local-index (default-update-local-index) @ org.jkiss.utils ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for DBeaver Common dependencies 2.2.0-SNAPSHOT:
[INFO] 
[INFO] DBeaver Common dependencies ........................ SUCCESS [  0.138 s]
[INFO] Common modules ..................................... SUCCESS [  0.021 s]
[INFO] Common utils ....................................... SUCCESS [  3.791 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  7.058 s
[INFO] Finished at: 2025-09-09T09:48:42Z
[INFO] ------------------------------------------------------------------------
Originally created by @LordofAvernus on GitHub (Sep 9, 2025). ## Problem Description Attempting to build CloudBeaver 23.2.2 from source code fails during the build process, preventing successful compilation.dbeaver-common can be compiled successfully, but dbeaver fails to compile. ## Environment - **OS**: Linux 5.4.0-1133-kvm (Ubuntu 20.04 LTS) - **Java Version**: OpenJDK 17.0.15 - **Maven Version**: Apache Maven 3.9.11 - **CloudBeaver Version**: 23.2.2 ## Build Steps 1. Git clone repository - drwxr-xr-x@ 22 xxxx xxxx 704B 9 9 16:10 cloudbeaver - drwxr-xr-x@ 21 xxxx xxxx 672B 9 9 17:28 dbeaver - rwxr-xr-x@ 12 xxxx xxxx 384B 9 9 16:14 dbeaver-common 2. Checkout to 23.2.2 tag - git checkout -b dbeaver-23.2.2-dev 23.2.2 3. Build command - sh ~/workspace/dbeaver-ce-dev/cloudbeaver/deploy/build.sh ``` [INFO] Adding repository https://p2.dev.dbeaver.com/eclipse-repo [ERROR] Internal error: java.lang.RuntimeException: Failed to load p2 repository with ID 'local-contrib' from location https://p2.dev.dbeaver.com/eclipse-repo/: Unable to read repository at https://p2.dev.dbeaver.com/eclipse-repo. Unknown host p2.dev.dbeaver.com -> [Help 1] org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: Failed to load p2 repository with ID 'local-contrib' from location https://p2.dev.dbeaver.com/eclipse-repo/ at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:109) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283) at org.apache.maven.cli.MavenCli.main (MavenCli.java:206) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:569) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:255) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:201) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:361) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:314) Caused by: java.lang.RuntimeException: Failed to load p2 repository with ID 'local-contrib' from location https://p2.dev.dbeaver.com/eclipse-repo/ ``` 4. Try to fix - Execute `mvn clean install` in repository ``` root@localhost:~/workspace/dbeaver-ce-dev/dbeaver-common# xml to /root/.m2/repository/com/dbeaver/common/org.jkiss.utils/2.2.0-SNAPSHOT/org.jkiss.utils-2.2.0-SNAPSHOT-p2artifacts.xml [INFO] [INFO] --- tycho-p2:4.0.4:update-local-index (default-update-local-index) @ org.jkiss.utils --- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for DBeaver Common dependencies 2.2.0-SNAPSHOT: [INFO] [INFO] DBeaver Common dependencies ........................ SUCCESS [ 0.138 s] [INFO] Common modules ..................................... SUCCESS [ 0.021 s] [INFO] Common utils ....................................... SUCCESS [ 3.791 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 7.058 s [INFO] Finished at: 2025-09-09T09:48:42Z [INFO] ------------------------------------------------------------------------ ``` ``` ```
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#973
No description provided.