• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

Spring 4 MVC -Resources Mapping Cannot be Found

Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am using Spring 4 MVC Code based configuration in my app:

If classes are packed in a jar and deployed in WEB-INF/lib like WEB-INF/lib/app.jar, the application works fine.
If classes are placed in WEB-INF/classes, then Spring can't seem to find resources:

org.springframework.web.servlet.PageNotFound] (http-localhost/ No mapping found for HTTP request with URI [/resources/app/css/app.css] in DispatcherServlet with name 'dispatcher'

Can anyone shed some light?

Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic