Прерывание задачи Ant scp/ssh приводит к неправильному чтению сертификата [закрыто]JAVA

Программисты JAVA общаются здесь
Ответить
Anonymous
 Прерывание задачи Ant scp/ssh приводит к неправильному чтению сертификата [закрыто]

Сообщение Anonymous »

Мои сценарии Ant прерываются при запуске scp/ssh.
Похоже, что SSH 2 плохо интегрирован.
***com.jcraft.jsch.JSchException***

Как обойти эту проблему?
ОС Windows -> AlmaLinux 9
Определение задачи Ant:


Отрывок из вывода сборки:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:3.1.0:run (project-info) on project SakilaFx: An Ant BuildException has occured: The following error occurred while executing this line:
[ERROR] D:\Formations\Projets_Cours\Java SE\JAVA_INTRO\sakila-javafx\build.xml:73: The following error occurred while executing this line:
[ERROR] D:\Formations\Projets_Cours\Java SE\JAVA_INTRO\sakila-javafx\build.xml:90: The following error occurred while executing this line:
[ERROR] D:\Formations\Projets_Cours\Java SE\JAVA_INTRO\sakila-javafx\build.xml:53: com.jcraft.jsch.JSchException: HostKey has been changed: tn-server.org
[ERROR] around Ant part ...... @ 4:91 in D:\Formations\Projets_Cours\Java SE\JAVA_INTRO\sakila-javafx\target\antrun\build-main.xml
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/disp ... nException


Подробнее здесь: https://stackoverflow.com/questions/797 ... ertificate
Ответить

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

Вернуться в «JAVA»