You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Caused by: java.lang.module.InvalidModuleDescriptorException: Package org.zalando.problem.gson not found in module
Description
During the build process of a custom JDK the following error occurs
[INFO] java.lang.module.FindException: Error reading module: dependencies/BOOT-INF/lib/problem-0.26.0.jar
[INFO]
[INFO] at java.base/jdk.internal.module.ModulePath.readModule(ModulePath.java:350)
[INFO] at java.base/jdk.internal.module.ModulePath.scan(ModulePath.java:237)
[INFO]
[INFO] at java.base/jdk.internal.module.ModulePath.scanNextEntry(ModulePath.java:190)
[INFO]
[INFO] at java.base/jdk.internal.module.ModulePath.findAll(ModulePath.java:166)
[INFO] at jdk.jdeps/com.sun.tools.jdeps.JdepsConfiguration$Builder.build(JdepsConfiguration.java:521)
[INFO]
[INFO] at jdk.jdeps/com.sun.tools.jdeps.JdepsTask.buildConfig(JdepsTask.java:603)
[INFO]
[INFO] at jdk.jdeps/com.sun.tools.jdeps.JdepsTask.run(JdepsTask.java:557)
[INFO]
[INFO] at jdk.jdeps/com.sun.tools.jdeps.JdepsTask.run(JdepsTask.java:533)
[INFO]
[INFO] at jdk.jdeps/com.sun.tools.jdeps.Main.main(Main.java:49)
[INFO]
[INFO] Caused by: java.lang.module.InvalidModuleDescriptorException: Package org.zalando.problem.gson not found in module
[INFO] at java.base/jdk.internal.module.ModuleInfo.invalidModuleDescriptor(ModuleInfo.java:1091)
[INFO]
[INFO] at java.base/jdk.internal.module.ModuleInfo.doRead(ModuleInfo.java:324)
[INFO]
[INFO] at java.base/jdk.internal.module.ModuleInfo.read(ModuleInfo.java:131)
[INFO]
[INFO] at java.base/jdk.internal.module.ModulePath.readJar(ModulePath.java:652)
[INFO]
[INFO] at java.base/jdk.internal.module.ModulePath.readModule(ModulePath.java:331)
Expected Behavior
org.zalando.problem.gson should be present or removed from module-info.
Actual Behavior
org.zalando.problem.gson should is referenced in module-info but no dependency exists.
Possible Fix
Remove org.zalando.problem.gson from module-info.
Context
Building a custom JDK for my Docker image with reduced space consumption.
Your Environment
Version used: problem-spring-web:0.27.0
Link to your project: closed source
The text was updated successfully, but these errors were encountered:
Caused by: java.lang.module.InvalidModuleDescriptorException: Package org.zalando.problem.gson not found in module
Description
During the build process of a custom JDK the following error occurs
Expected Behavior
org.zalando.problem.gson should be present or removed from module-info.
Actual Behavior
org.zalando.problem.gson should is referenced in module-info but no dependency exists.
Possible Fix
Remove org.zalando.problem.gson from module-info.
Context
Building a custom JDK for my Docker image with reduced space consumption.
Your Environment
The text was updated successfully, but these errors were encountered: