@Override
    public void addResourceHandlers(ResourceHandlerRegistry registry) {
        registry.addResourceHandler("*.css", "*.png").addResourceLocations("/");
        registry.addResourceHandler("*.jar", "*.pack").addResourceLocations("/WEB-INF/resources/");
    }
JSP / HTML views and resource bean definitions.
samples/spring-mvc/src/main/java/org/apache/shiro/samples/spring/config/JspViewsConfig.java