@Override
public void addResourceHandlers(ResourceHandlerRegistry registry) {
ResourceHandlerRegistration resourceHandlerRegistration = registry.addResourceHandler("/static/**");
resourceHandlerRegistration.addResourceLocations("classpath:/");
ResourceChainRegistration resourceChain = resourceHandlerRegistration.resourceChain(false);
VersionResourceResolver versionResolver = new VersionResourceResolver().addContentVersionStrategy("/**");
resourceChain.addResolver(versionResolver);
}