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

Cannot use org.web3j:core with JPMS. #2071

Open
lachlan-roberts opened this issue Jun 27, 2024 · 0 comments
Open

Cannot use org.web3j:core with JPMS. #2071

lachlan-roberts opened this issue Jun 27, 2024 · 0 comments
Labels
bug A bug in behaviour or functionality

Comments

@lachlan-roberts
Copy link

Bug_title

Cannot use org.web3j:core with JPMS.

Steps To Reproduce

Run from a module with JPMS enabled.

Environment

Describe the environment in which the issue occurs

  • Web3j version: 4.12.0
  • OpenJDK Runtime Environment Temurin-21+35 (build 21+35-LTS)

Additional context

The crypto-4.12.0.jar and the utils-4.12.0.jar do not declare module-info.java files. And they both provide the package org.web3j.crypto.

I get the following error:

the unnamed module reads package org.web3j.crypto from both utils and crypto
module utils reads package org.web3j.crypto from both crypto and utils
module crypto reads package org.web3j.crypto from both utils and crypto
@lachlan-roberts lachlan-roberts added the bug A bug in behaviour or functionality label Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug in behaviour or functionality
Projects
None yet
Development

No branches or pull requests

1 participant