hyperledger-web3j / web3j

Lightweight Java and Android library for integration with Ethereum clients
https://www.web3labs.com/web3j-sdk
Other
5.1k stars 1.68k forks source link

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

Open lachlan-roberts opened 4 months ago

lachlan-roberts commented 4 months ago

_Bugtitle

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

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
zhuzhiqing commented 1 week ago

any progress ?