Project

General

Profile

Actions

Bug #830

open

Building from source fails: Error: Module java.logging not found, required by org.openecard.richclient

Added by Theo Wollenleben over 3 years ago. Updated over 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
06/25/2021
Due date:
% Done:

0%

Estimated time:
Reviewer:
Build Version:

Description

OS: Linux (openSUSE Tumbleweed) with OpenJDK 14 and higher

I have no success trying to build Open eCard from source. Following the build instructions

$ git clone git://github.com/ecsec/open-ecard.git
$ cd open-ecard
$ mvn clean install

gives the following error:
[ERROR] Error: Module java.logging not found, required by org.openecard.richclient
[ERROR] java.lang.module.FindException: Module java.logging not found, required by org.openecard.richclient
[ERROR]         at java.base/java.lang.module.Resolver.findFail(Resolver.java:900)
[ERROR]         at java.base/java.lang.module.Resolver.resolve(Resolver.java:191)
[ERROR]         at java.base/java.lang.module.Resolver.resolve(Resolver.java:140)
[ERROR]         at java.base/java.lang.module.Configuration.resolve(Configuration.java:421)
[ERROR]         at java.base/java.lang.module.Configuration.resolve(Configuration.java:255)
[ERROR]         at jdk.jlink/jdk.tools.jlink.internal.Jlink$JlinkConfiguration.resolve(Jlink.java:217)
[ERROR]         at jdk.jlink/jdk.tools.jlink.internal.JlinkTask.createImageProvider(JlinkTask.java:489)
[ERROR]         at jdk.jlink/jdk.tools.jlink.internal.JlinkTask.createImage(JlinkTask.java:399)
[ERROR]         at jdk.jlink/jdk.tools.jlink.internal.JlinkTask.run(JlinkTask.java:271)
[ERROR]         at jdk.jlink/jdk.tools.jlink.internal.Main.run(Main.java:54)
[ERROR]         at jdk.jlink/jdk.tools.jlink.internal.Main.main(Main.java:33)
[ERROR] Failed to execute goal net.agilhard.maven.plugins:jlink-jpackager-maven-plugin:1.0.0-ec.4:jlink (jlink) on project richclient-packager: 
[ERROR] Exit code: 1
[ERROR] Command line was: /bin/sh -c /usr/lib64/jvm/java/bin/jlink @/usr/src/git/open-ecard/packager/richclient-packager/target/jlinkArgs

The reported missing module seems to be present:
$ java --list-modules | grep java.logging
java.logging@11.0.7

Resuming with
$ mvn clean install -rf :richclient-packager

leads to more allegedly missing modules (java.base, java.desktop, ...).


Files

open-ecard-jdk-12.0.2-debugfonts.log (8.59 KB) open-ecard-jdk-12.0.2-debugfonts.log Java log for version 12.0.2 Theo Wollenleben, 07/08/2021 03:15 AM
open-ecard-jdk-13-debugfonts-abridged.log (310 KB) open-ecard-jdk-13-debugfonts-abridged.log Java log abridged for version 13 Theo Wollenleben, 07/08/2021 03:15 AM
Actions

Also available in: Atom PDF