Guys I have also problem with loading static resources.
I think I have everything properly set up. But I don't understand location attribute of mvc:resources. What is it for?
if I have my static resources under location VAADIN/themes/theme/... (in several subfolders, images, css, js) what should be the correct values for location and mapping attributes?
When I have following in configuration:
<mvc:resources location="/VAADIN/" mapping="/VAADIN/**"/>
it doesn't work. I suppose the following part of log is related:
17:15:02.897 [http-8080-2] DEBUG o.s.w.s.m.a.DefaultAnnotationHandlerMapping - Rejected bean name 'org.springframework.web.servlet.resource.ResourceHttpRequestHandler#6': no
URL paths identified
I receive HTTP Status 404 for e.g. http://127.0.0.1/VAADIN/themes/theme/css/style.css
ResourceHttpRequestHandler#6looks odd - do you really have 6 of those? perhaps more than onemvc:annotation-driven?