Maven Project Error Messages:
Project build error: Non-resolvable parent POM for com.sap.cloud.sample:connectivity:[unknown-version]: Failure to find com.sap.cloud.sample:sdk-samples-parent:pom:1.0.0 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 and ‘parent.relativePath’ points at wrong local POM
Analyze
A parent dependency is defined in the pom.xml of my Maven project named connectivity:
But there is no local pom.xml in the upper-level folder dis of connectivity, so Maven will report the above error message.
Solution
Create a new pom.xml
in the upper-level folder dis of the current project, and define the content of sdk-samples-parent
.
After the problem is solved.
Read More:
- Prompt unknown error in pom.xml of Maven project
- Maven package error: [WARNING] The POM for xxx is missing, no dependency inform
- [Solved] Read file XXX /pom.xml Error when Maven is configured in idea
- How to Solve Maven Error: Failure to transfer com.thoughtworks.xstream:xstream:jar:1.3.1 from https://repo.maven.ap
- [Solved] Arcgis Error: The number of points is less than required for feature
- How to Fix IIS7.5 Disallowed Parent Path Error
- Springboot package error: failed to execute goal org.apache.maven.plugins:maven-resources-plugin: 3.2.0…
- [Solved] presto Compile Error: Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.0.0:check
- [Maven] Pom.xml error: Cannot detect Web Project version.
- MAC-XXL_JOB Error: Failed to create parent directories for [/data/applogs/xxl-job/xxl-job-admin.log
- [Solved] MATLAB Error: Wrong use of commLTETurboDecoder/step
- An error was reported when Maven package was running the packaged jar package: there is no main list attribute in xxx.jar, which can be solved by configuring Maven plugin
- Maven Configurate Error: [ERROR] Error executing Maven. [ERROR] 1 problem was encountered while building the effec
- [Solved] Mavenwas cached in the local repository
- [Solved] error adding symbols: File in wrong format collect2: error: ld returned 1 exit status
- [Solved] RT-Thread Transplant Error: Error: A1854E: Unknown opcode ‘VSTMFDEQ’, maybe wrong target CPU?
- How to Solve Maven Error: Return code is: 501 , ReasonPhrase:HTTPS Required.
- GoLand import the local package Error [How to Solve]
- AAR Call Error: only jar-type local dependencies are supported
- [Solved] git Error: error: Your local changes to the following files would be overwritten by merge