[INFO] Scanning for projects...
[INFO]
[INFO] -------------------< org.example:SpringBootExample >--------------------
[INFO] Building SpringBootExample 1.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ SpringBootExample ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 1 resource
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ SpringBootExample ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ SpringBootExample ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] skip non existing resourceDirectory C:\Users\user\SpringBootExample\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ SpringBootExample ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ SpringBootExample ---
Downloading from central: http://repo1.maven.org/maven2/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar
Downloading from central: http://repo1.maven.org/maven2/org/slf4j/slf4j-api/1.5.6/slf4j-api-1.5.6.jar
Downloading from central: http://repo1.maven.org/maven2/org/apache/maven/maven-plugin-parameter-documenter/2.2.1/maven-plugin-parameter-documenter-2.2.1.jar
Downloading from central: http://repo1.maven.org/maven2/org/slf4j/slf4j-jdk14/1.5.6/slf4j-jdk14-1.5.6.jar
Downloading from central: http://repo1.maven.org/maven2/org/slf4j/jcl-over-slf4j/1.5.6/jcl-over-slf4j-1.5.6.jar
Downloading from central: http://repo1.maven.org/maven2/org/apache/maven/maven-error-diagnostics/2.2.1/maven-error-diagnostics-2.2.1.jar
Downloading from central: http://repo1.maven.org/maven2/org/apache/maven/maven-monitor/2.2.1/maven-monitor-2.2.1.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.521 s
[INFO] Finished at: 2023-02-20T22:01:43+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test) on project SpringBootExample: 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: The following artifacts could not be resolved: org.hamcrest:hamcrest-core:jar:1.3, org.apache.maven:maven-plugin-parameter-documenter:jar:2.2.1, org.slf4j:slf4j-jdk14:jar:1.5.6, org.slf4j:slf4j-api:jar:1.5.6, org.slf4j:jcl-over-slf4j:jar:1.5.6, org.apache.maven:maven-error-diagnostics:jar:2.2.1, org.apache.maven:maven-monitor:jar:2.2.1: Could not transfer artifact org.hamcrest:hamcrest-core:jar:1.3 from/to central (http://repo1.maven.org/maven2): Permission denied: connect -> [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/PluginResolutionException
Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test) on project SpringBootExample: 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: The following artifacts could not be resolved: org.hamcrest:hamcrest-core:jar:1.3, org.apache.maven:maven-plugin-parameter-documenter:jar:2.2.1, org.slf4j:slf4j-jdk14:jar:1.5.6, org.slf4j:slf4j-api:jar:1.5.6, org.slf4j:jcl-over-slf4j:jar:1.5.6, org.apache.maven:maven-error-diagnostics:jar:2.2.1, org.apache.maven:maven-monitor:jar:2.2.1: Could not transfer artifact org.hamcrest:hamcrest-core:jar:1.3 from/to central (http://repo1.maven.org/maven2): Permission denied: connect
Всем спасибо за помощь.