Skip to content
This repository has been archived by the owner on Aug 5, 2024. It is now read-only.

Error using Java Modules: Split package #18

Open
craigraw opened this issue Sep 11, 2020 · 0 comments
Open

Error using Java Modules: Split package #18

craigraw opened this issue Sep 11, 2020 · 0 comments

Comments

@craigraw
Copy link

After importing the tor.native dependency (and it's transitive dependencies) and trying to compile, there is a split package causing errors similar to the following:
error: module tor reads package org.berndpruenster.netlayer.tor from both tor.native and tor

This is because the package above exists in both tor.jar and tor.native.jar, both of which are independent modules and cannot share the same package under JPMS rules. More here: https://stackoverflow.com/questions/42358084/package-conflicts-with-automatic-modules-in-java-9/42358212#42358212

Is possible to resolve this either by combining the jars or using a different package?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant