N
N
nuclear_kote2020-05-27 14:09:33
Java
nuclear_kote, 2020-05-27 14:09:33

How to overcome the ban on access to private packages/modules in maven?

package sun.net.www is not visible
[ERROR] (package sun.net.www is declared in module java.base, which does not export it to the unnamed module)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
szanislo, 2020-05-27
@szanislo

Private packages are used to deny access. To use a private class, it will need to be copied into your project, but there will be dependency issues.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question