'Facing package javax.xml.soap does not exist during mvn install in java8

I am setting up a spring boot app locally, SOAP packages are not detected by maven dependency. They recommend to use java 8, I have configured it too. While I do mvn clean install, facing the below error. PFA of the project settings I have configured. Project settings

package javax.xml.soap does not exist Error in pom.xml



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source