Skip to main content
Filter by
Sorted by
Tagged with
5 votes
1 answer
76 views

My directory looks like this. I am just outside of the blah folder. $ tree.com //F Folder PATH listing for volume Acer Volume serial number is 127C-AD6A C:. └───blah └───src └───main ...
davidalayachew's user avatar
4 votes
3 answers
350 views

The goal: to combine multiple JARs and the modules in them into a single JAR allow consumers to include a single package dependency in their maven/gradle/... files make all of the modules available ...
foo's user avatar
  • 2,256
1 vote
2 answers
111 views

I am familiar with the Java Platform Module System. The javadoc for Module#addOpens sketches out a use case that I cannot translate into the real world: This method can be used for cases where a ...
Laird Nelson's user avatar
  • 16.5k
2 votes
1 answer
98 views

JPMS supports multiple layers. For example boot layer and its two child layers. And I need to show these layers on UML diagram. For this I selected component diagram where every layer is a component. ...
SilverCube's user avatar
  • 1,138
0 votes
0 answers
121 views

I did an example that you may clone by git clone https://github.com/rolfschumacher/chFop.git Importing it to Eclipse as an existing Maven project and let it run leads to Unable to derive module ...
ngong's user avatar
  • 894
1 vote
0 answers
55 views

I added a module.info to my src/main/java and then also to my src/test/java, as per the example here. Compiling my main code is no problem. I see the compiler:compile goal adds only my direct (non-...
Yonas's user avatar
  • 489
2 votes
1 answer
404 views

I've a clojure project with deps.edn which uses the library clj-async-profiler My main function in the project contains the below code - (ns com.myns.cli (:gen-class) (:require [clj-async-...
user51's user avatar
  • 10.6k
0 votes
0 answers
42 views

I am migrating my Web project into java modules (JigSaw) with Java 17 and eclipse. One of my projects (ProjectA) defines Lombok as a required static resource ("requires static lombok;") in ...
Edmund's user avatar
  • 71
1 vote
0 answers
170 views

anyone can explain to me why my spring jpms module exited ? my code is too simple : package ir.moke.module.spring; import org.springframework.boot.SpringApplication; import org.springframework.boot....
mah454's user avatar
  • 1,948
0 votes
2 answers
136 views

I try to build jpms embedded tomcat server . <dependencies> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</...
mah454's user avatar
  • 1,948
0 votes
1 answer
472 views

Settings I'm using JDK 22: openjdk version "22" 2024-03-19 OpenJDK Runtime Environment (build 22+36-2370) OpenJDK 64-Bit Server VM (build 22+36-2370, mixed mode, sharing) I'm also using ...
Yann-Gaël Guéhéneuc's user avatar
2 votes
1 answer
136 views

I have a simple hello world that I'm trying to build into a modular jar to test running jlink. I can neither run the jar file nor can I create an image for it with jlink. I an on Windows, and using ...
BillRobertson42's user avatar
1 vote
0 answers
131 views

I don't fully understand the combination of JPMS and maven. In multiple places, the two claim to be independent and orthogonal to each other, yet both offer concepts for dependency and encapsulation. ...
bmurauer's user avatar
  • 1,319
2 votes
0 answers
134 views

Having a maven project "Test". This is the pom.xml: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ...
Grim's user avatar
  • 2,133
4 votes
0 answers
98 views

The JPMS requires instruction can have two qualifiers static and transitive. For a module foo: requires static bar;, makes resolution of the bar module optional at runtime, requires transitive bar;, ...
Piotr P. Karwasz's user avatar
1 vote
1 answer
2k views

In my Java 17 maven project I am using slf4j based on log4j2. It runs fine, when I start it from within Eclipse. Maven places the main class in MANIFEST of the modules jar file and all dependent jar ...
ngong's user avatar
  • 894
0 votes
0 answers
199 views

I am using JDK 19 in a modular maven project. My project compiles in the shell, but I get errors in Eclipse. The package org.slf4j is accessible from more than one module: <unnamed>, org.slf4j ...
Heiko's user avatar
  • 31
0 votes
1 answer
399 views

There is a maven artifact called xxx: Having this vanilla pom: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ...
Grim's user avatar
  • 2,133
0 votes
0 answers
75 views

I am creating my first project using JPMS . Simply I have a Maven project and some simple classes that need JAXB classes.Then created module-info.java module mymodule{ requires jakarta.xml.bind; ...
KronosOne's user avatar
  • 337
2 votes
1 answer
510 views

I have the following project structure. ProjectName | |---src | |---main | |---java | | | |---ModuleName | | | |---module-info....
davidalayachew's user avatar
4 votes
1 answer
13k views

In the context of JEP 403's robust encapsulation in Java 17, I have a class (.jar) that is dynamically loaded during JVM execution. This class utilizes Reflection to invoke private methods belonging ...
Peyang's user avatar
  • 127
1 vote
1 answer
216 views

I'm trying to build a Java module with Maven but I keep getting the same error (module not found) with every dependency when I run mvn compile. Neither Intellij IDEA nor VSCode give me any error ...
AndreaG's user avatar
  • 21
2 votes
1 answer
753 views

I have a Java 11 Gradle project for work. I am using IntelliJ Idea. I have some test errors, so I'm trying to debug. The error message I'm asking about appears to be unrelated to the test errors, but ...
apex2022's user avatar
  • 877
0 votes
0 answers
76 views

Does anybody else experience strange Source compilation had errors info messages when running an application with JPMS modules on openliberty. These are info messages I also see in my project: ...\src\...
r-uu's user avatar
  • 647
4 votes
0 answers
942 views

In our purely Kotlin project we would like to use flexible Java 9 module system. Otherwise we have to use internal visibility modifier too often to hide internal Kotlin module functionality from other ...
Andriy Kryvtsun's user avatar

1
2 3 4 5
11