'Import getting Started Content' has encountered a problem - java

I have created new spring starter project in SpringSuiteTool. I am getting this error when I created new spring starter project.
ArtifactTransferException: com.google.guava:guava:jar:10.0.1 failed to transfer from https://repo.maven.apache.org/maven2 during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact com.google.guava:guava:jar:10.0.1 from/to central (https://repo.maven.apache.org/maven2): The operation was cancelled. java.lang.reflect.InvocationTargetException

Go to {userdir}/.m2/repository/com/google/guava/guava, delete 10.0.1 folder and re build the project

Related

i have tried to create a maven project but i faced this issue . Anyone can help me to reslove this issue

Multiple markers at this line
Execution default-testResources of goal org.apache.maven.plugins:maven-resources-plugin:2.6:testResources failed: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: The following artifacts could not be resolved: org.apache.maven:maven-plugin-api:jar:2.0.6, org.apache.maven:maven-project:jar:2.0.6, org.apache.maven:maven-core:jar:2.0.6, org.apache.maven:maven-artifact:jar:2.0.6, org.apache.maven:maven-settings:jar:2.0.6, org.apache.maven:maven-model:jar:2.0.6, org.apache.maven:maven-monitor:jar:2.0.6, org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1, org.codehaus.plexus:plexus-utils:jar:2.0.5, org.apache.maven.shared:maven-filtering:jar:1.1, org.codehaus.plexus:plexus-interpolation:jar:1.13: org.apache.maven:maven-plugin-api:jar:2.0.6 failed to transfer from https://repo.maven.apache.org/maven2 during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.apache.maven:maven-plugin-api:jar:2.0.6 from/to central (https://repo.maven.apache.org/maven2): The operation was cancelled. (org.apache.maven.plugins:maven-resources-plugin:2.6:testResources:default-testResources:process-test-resources)

maven configuration plugin issue

IM using eclipse java 2021-03-R and java jdk1.8.0 as i tried to configure the java project to maven Im getting error and im unable to clear. Pls help. Im trying to learn selenium automation.Please help.
oreException: Could not calculate build plan: Plugin org.apache.maven.plugins:maven-compiler-plugin:2.3.2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-compiler-plugin:jar:2.3.2: ArtifactResolutionException: Failure to transfer org.apache.maven.plugins:maven-compiler-plugin:pom:2.3.2 from http://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. Original error: Could not transfer artifact org.apache.maven.plugins:maven-compiler-plugin:pom:2.3.2 from/to central (http://repo.maven.apache.org/maven2): Failed to transfer http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.3.2/maven-compiler-plugin-2.3.2.pom. Error code 501, HTTPS Required

Getting error on first line on pom.xml after I changed version from 2.5.2 to 1.4.7. I'm using spring boot 3.8.0 Release

I'm new to sts. When I changed model version from pom.xml file line no 7(2.5.2 to 1.4.7). I got this error
Failure to transfer org.codehaus.plexus:plexus-utils:jar:3.0.20 from 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.
Original error: Could not transfer artifact org.codehaus.plexus:plexus-utils:jar:3.0.20 from/to central (https://
repo.maven.apache.org/maven2): repo.maven.apache.org
Screenshot

Error when importing project with maven

I'm starting to learn AngularJS and spring at work. I'm following this tutorial.
There it has a sample code that you can download from git
I'm following this steps:
Clone the project.
Eclipse -> Import -> maven project -> project called "basic"( which I download from the git source).
The problem is that maven detects the following errors:
Description Resource Path Location Type
Failure to transfer org.apache.maven:maven-core:jar:2.0.6 from 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. Original error: Could not transfer artifact org.apache.maven:maven-core:jar:2.0.6 from/to central (https://repo.maven.apache.org/maven2): The operation was cancelled. pom.xml /basic line 1 Maven Configuration Problem
Description Resource Path Location Type
CoreException: Could not get the value for parameter compilerId for plugin execution default-compile: PluginResolutionException: Plugin org.apache.maven.plugins:maven-compiler-plugin:3.1 or one of its dependencies could not be resolved: The following artifacts could not be resolved: org.apache.maven:maven-artifact:jar:2.0.9, org.apache.maven:maven-toolchain:jar:1.0, org.apache.maven.shared:maven-shared-utils:jar:0.1, com.google.code.findbugs:jsr305:jar:2.0.1, org.codehaus.plexus:plexus-component-annotations:jar:1.5.5, org.codehaus.plexus:plexus-compiler-api:jar:2.2, org.codehaus.plexus:plexus-classworlds:jar:2.2.2, org.apache.xbean:xbean-reflect:jar:3.4, log4j:log4j:jar:1.2.12, commons-logging:commons-logging-api:jar:1.1, com.google.collections:google-collections:jar:1.0, junit:junit:jar:3.8.2: Failure to transfer org.apache.maven:maven-artifact:jar:2.0.9 from 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. Original error: Could not transfer artifact org.apache.maven:maven-artifact:jar:2.0.9 from/to central (https://repo.maven.apache.org/maven2): The operation was cancelled. pom.xml /basic line 14 Maven Project Build Lifecycle Mapping Problem
I really don't understand the error, and I don't know where to look up for a fix.

Spring-MVC-Maven-Failure to transfer org.codehaus.plexus:plexus-archiver:jar:2.0.1

i created my spring-maven project with spring and other dependencies in maven pom.xml file and the project has been build-ed and run successfully after some days i tried to update dependencies and build the project again this failure occurred !
any help please ?
Failure to transfer org.codehaus.plexus:plexus-archiver:jar:2.0.1 from http://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. Original error:
Could not transfer artifact
org.codehaus.plexus:plexus-archiver:jar:2.0.1 from/to central
(http://repo.maven.apache.org/maven2): No response received after
60000 pom.xml /DeabrnyRack
updated:i found the solution in this thread as there is updated
versions of dependencies made conflict so i removed the
"plexus-archiver.lastupdated" link :
Maven error "Failure to transfer..."

Categories