问题标签 [apache-sshd]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
35 浏览

java - Apache MINA sshd | 当我添加依赖项并将其导入类中时,我得到“org.apache.sshd.client.SshClient 类型不可访问”错误

我将 Java 11 与 JavaFX 一起使用。当我将 Apache MINA 添加为 Maven 依赖项,然后在 java 类中执行导入语句时,我收到以下错误消息:

“org.apache.sshd.client.SshClient 类型不可访问”

我添加了依赖项:

然后我导入课堂:

但它不起作用。我收到上述错误。我做错了什么?请帮忙。