I'm trying to access xsd in resource folder for eg. resource/xyz/abc/data.xsd
in spring boot application using below code,
@Autowired
private ResourceLoader resourceLoader;
...
final Resource fileResource = resourceLoader.getResource("classpath:XYZ/view/abc.xsd");
fileResource.getFile()
Which runs or access xsd file in resource folder properly when I run the application locally same is not happening for test environment which is in cloud Does anyone has any idea what would be the reason.
Thanks in advance