• Что бы вступить в ряды "Принятый кодер" Вам нужно:
    Написать 10 полезных сообщений или тем и Получить 10 симпатий.
    Для того кто не хочет терять время,может пожертвовать средства для поддержки сервеса, и вступить в ряды VIP на месяц, дополнительная информация в лс.

  • Пользаватели которые будут спамить, уходят в бан без предупреждения. Спам сообщения определяется администрацией и модератором.

  • Гость, Что бы Вы хотели увидеть на нашем Форуме? Изложить свои идеи и пожелания по улучшению форума Вы можете поделиться с нами здесь. ----> Перейдите сюда
  • Все пользователи не прошедшие проверку электронной почты будут заблокированы. Все вопросы с разблокировкой обращайтесь по адресу электронной почте : info@guardianelinks.com . Не пришло сообщение о проверке или о сбросе также сообщите нам.

Spring Application

Lomanu4 Оффлайн

Lomanu4

Команда форума
Администратор
Регистрация
1 Мар 2015
Сообщения
1,481
Баллы
155
While creating a Spring application using Spring Initializer, I encountered the following issue during the build

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test) on project Logger:
Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test failed:
Plugin org.apache.maven.plugins:maven-surefire-plugin:2.22.2 or one of its dependencies could not be resolved:
Failed to collect dependencies at org.apache.maven.plugins:maven-surefire-plugin:jar:2.22.2 ->
org.apache.maven.surefire:maven-surefire-common:jar:2.22.2:
Failed to read artifact descriptor for org.apache.maven.surefire:maven-surefire-common:jar:2.22.2:
Could not transfer artifact org.apache.maven.surefire:maven-surefire-common:pom:2.22.2 from/to central (

Пожалуйста Авторизируйтесь или Зарегистрируйтесь для просмотра скрытого текста.

): connect timed out

To resolve this, I verified the Maven settings located at

C:\Users<user_id>.m2

In the settings.xml file, I configured the proxy settings as follows



myproxy
true
http
your.proxy.server
8080
userid
password
localhost|127.0.0.1


even after configuring the proxy, the project failed to build and the Maven dependencies were not downloaded successfully. Finally, I performed a "Maven > Update Project" action in the IDE, which resolved the issue. After that, the project built successfully and dependencies were installed correctly.


Пожалуйста Авторизируйтесь или Зарегистрируйтесь для просмотра скрытого текста.

 
Вверх Снизу