Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java 17 and Modules #233

Open
Icosider opened this issue May 31, 2024 · 1 comment
Open

Java 17 and Modules #233

Icosider opened this issue May 31, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Icosider
Copy link
Contributor

Describe the bug
If you use the Java 9+ modular system, in my case 17, then a packaging error occurs

To Reproduce
Steps to reproduce the behavior:

  1. Add file-kache-jvm.jar and kache-jvm.jar in ur classpath
  2. Run ur app
  3. See the error

Expected behavior
Running app without errors

System (please complete the following information):

  • Device: Desktop
  • OS: Windows 11

Stacktrace

Exception in thread "main" java.lang.module.ResolutionException: Modules file.kache.jvm and kache.jvm export package com.mayakapps.kache to module org.jsoup
at java.base/java.lang.module.Resolver.resolveFail(Resolver.java:901)
at java.base/java.lang.module.Resolver.failTwoSuppliers(Resolver.java:815)
at java.base/java.lang.module.Resolver.checkExportSuppliers(Resolver.java:736)
at java.base/java.lang.module.Resolver.finish(Resolver.java:380)
at java.base/java.lang.module.Configuration.<init>(Configuration.java:140)
at java.base/java.lang.module.Configuration.resolveAndBind(Configuration.java:494)
@Icosider Icosider added the bug Something isn't working label May 31, 2024
@MSDarwish2000
Copy link
Member

Thank you for reporting the issue. I would investigate and try to fix it soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants