Good night everyone!
I can not access the css of my application in spring, even after mapping resouce, follows codes:
@Override
public void addResourceHandlers(ResourceHandlerRegistry registry) {
registry.addResourceHandler("/resources/**").addResourceLocations("/resources/");
}
@Override
public void configureDefaultServletHandling(DefaultServletHandlerConfigurer configurer) {
configurer.enable();
}
E Here is the html of it:
<link href="resources/css/bootstrap/bootstrap.css" rel="stylesheet" media="screen">
What will be the problem, because even after maper I can not access the css.