Found the error:
Final xxx-servlet.xml config:
<mvc:annotation-driven />
<mvc:resources mapping="/resources/**" location="/resources/" />
Image in src/webapp/resources/logo.png
Works!
More Related Contents:
- Using JSF as view technology of Spring MVC
- How to avoid the “Circular view path” exception with Spring MVC test
- What is difference between @RequestBody and @RequestParam?
- Spring Hibernate – Could not obtain transaction-synchronized Session for current thread
- How do I prevent people from doing XSS in Spring MVC?
- What’s the difference between and in servlet?
- Spring boot – Not a managed type
- @Scope(“prototype”) bean scope not creating new bean
- When use ResponseEntity and @RestController for Spring RESTful applications
- Spring CORS No ‘Access-Control-Allow-Origin’ header is present
- Enable HAL serialization in Spring Boot for custom controller method
- Spring HandlerInterceptor vs Servlet Filters
- Converting from String to custom Object for Spring MVC form Data binding?
- Spring + Web MVC: dispatcher-servlet.xml vs. applicationContext.xml (plus shared security)
- Can I make a custom controller mirror the formatting of Spring-Data-Rest / Spring-Hateoas generated classes?
- SpringServletContainerInitializer cannot be cast to javax.servlet.ServletContainerInitializer
- How to handle HTTP OPTIONS requests in Spring Boot?
- Spring MVC Annotated Controller Interface with @PathVariable
- Neither BindingResult nor plain target object for bean name available as request attr [duplicate]
- Multiple antMatchers in Spring security
- An Authentication object was not found in the SecurityContext – Spring 3.2.2
- Scope of a Spring-Controller and its instance-variables
- How to use with an tag?
- Spring: Difference of /** and /* with regards to paths
- Spring: @ModelAttribute VS @RequestBody
- Spring-MVC: What are a “context” and “namespace”?
- Looking for a Simple Spring security example [closed]
- Spring MVC bean mapping to HTTP GET request parameters similar to @BeanParam
- Is it possible to invalidate a spring security session?
- Using both Thymeleaf and JSP