Any idea why when I try to run a bootJar on gradle in eclipse it cannot find this java class and gives a compile error and I get the error in the import? The program works fine when running from eclipse ide and the ide itself shows no compile errors
error: package javax.xml.soap does not exist
import javax.xml.soap.MessageFactory;
build.gradle has
sourceCompatibility = 1.8
targetCompatibility = 1.8
and the project is set to run with java 8