error with springboot webservice example

gudii9
gudii9 used Ask the Experts™
on
I am getting below error


[INFO] Scanning for projects...
Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for com.example.howtodoinjava:spring-boot-soap-service:0.0.1-SNAPSHOT: Failure to find org.springframework.boot:spring-boot-starter-parent:pom:2.0.0.M4 in http://111.2.222.111:8081/archiva/repository/internal was cached in the local repository, resolution will not be reattempted until the update interval of archiva has elapsed or updates are forced and 'parent.relativePath' points at no local POM @ line 14, column 10
 @
The build could not read 1 project -> [Help 1]
 
  The project com.example.howtodoinjava:spring-boot-soap-service:0.0.1-SNAPSHOT (C:\Users\gmy\tes\spring boot_webservices_soap_rest\spring-boot-soap-service\pom.xml) has 1 error
    Non-resolvable parent POM for com.example.howtodoinjava:spring-boot-soap-service:0.0.1-SNAPSHOT: Failure to find org.springframework.boot:spring-boot-starter-parent:pom:2.0.0.M4 in http://111.2.222.111:8081/archiva/repository/internal was cached in the local repository, resolution will not be reattempted until the update interval of archiva has elapsed or updates are forced and 'parent.relativePath' points at no local POM @ line 14, column 10 -> [Help 2]

To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.

For more information about the errors and possible solutions, please read the following articles:
[Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
while trying below example

https://howtodoinjava.com/spring/spring-boot/spring-boot-soap-webservice-example/

i downloaded zip file of source code and unziped and tried and getting errors

Please advise
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Distinguished Expert 2018
Commented:
This is a Maven issue, you have to put the relative path of the modules to ../pom.xml.

For more info: https://stackoverflow.com/questions/7612309/maven-non-resolvable-parent-pom#7612809
Distinguished Expert 2018

Commented:
This is a valid answer.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial