• 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

Spring 4 MVC -Resources Mapping Cannot be Found  RSS feed

Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • 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?

This is my favorite tiny ad:
how do I do my own kindle-like thing - without amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!