I use Java 11
with JavaFX
. When I added Apache MINA
as a Maven dependency and then perform an import statement in the java class I get the following error message:
"The type org.apache.sshd.client.SshClient
is not accessible"
I have added the dependency:
<dependency>
<groupId>org.apache.sshd</groupId>
<artifactId>sshd-core</artifactId>
<version>2.8.0</version>
</dependency>
Then I import into class:
import org.apache.sshd.client.SshClient;
But it doesn't work. I get the above error. What am I doing wrong? Please help.