Не удалось найти org.springframework.boot: spring-boot-test-support: jar: 2.2.6.RELEASE - PullRequest
0 голосов
/ 21 апреля 2020

Я получаю ошибку ниже при создании исходного кода.

[ERROR] Failed to execute goal on project spring-boot-actuator-autoconfigure: Could not resolve dependencies for project org.springframework.boot:spring-boot-actuator-autoconfigure:jar:2.2.6.RELEASE: Failure to find org.springframework.boot:spring-boot-test-support:jar:2.2.6.RELEASE in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [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/display/MAVEN/DependencyResolutionException

Использование версии 2.2.6

Репозиторий: https://github.com/spring-projects/spring-boot.git

команды, используемые для сборки, после клонирования тега:

cd spring-boot-project / spring-boot /

mvn clean install

1 Ответ

0 голосов
/ 22 апреля 2020

Вот решение: spring-boot-test-support - это неопубликованный модуль поддержки, который должен быть собран и установлен локально, прежде чем вы сможете создавать отдельные модули. модуль доступен в spring-boot/spring-boot-project/spring-boot-tools/spring-boot-test-support/ каталоге

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...