Spring-boot deployed not picking up class path entry

When we have the spring boot all in eclipse it picks up a classpath directory and read an XML file we require. When we build the war and deploy it, it does not pickup the xml file and complains about the classPathResource not found. Tried setting -classPath --spring.config.location= none of them work. Does it only work in eclipse :slight_smile: