Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9133337
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T08:28:17+00:00 2026-06-17T08:28:17+00:00

I read in a blog post titled SPRING 3.1 M2: SPRING MVC ENHANCEMENTS that

  • 0

I read in a blog post titled SPRING 3.1 M2: SPRING MVC ENHANCEMENTS that it was possible to replace the <resources mapping="/resources/**" location="/resources/" /> element with the following equivalent:

@Configuration
@EnableWebMvc
public class AppConfiguration extends WebMvcConfigurerAdapter {

     @Override
     public void configureResourceHandling(ResourceConfigurer configurer) {
         configurer.addPathMapping("/resources/**").addResourceLocation("/resources/");
     }
}

However in Spring 3.2.0.RELEASE I don’t seem to be able to find ResourceConfigurer. Did this functionality make it to an official release ever? It’s possible I have something wrong with my dependencies but before I post all of that I just wanted to check.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T08:28:18+00:00Added an answer on June 17, 2026 at 8:28 am

    This mechanism was re-worked for 3.2, I had the same problem a couple of months ago. Now what you have to do is override a different method. The following seemed to work for me, although you may need to play with the paths etc:

    @Configuration
    @EnableWebMvc
    public class AppConfiguration extends WebMvcConfigurerAdapter {
        @Override
        public void addResourceHandlers(ResourceHandlerRegistry registry) {
             registry.addResourceHandler("/resources/").addResourceLocations("/resources/**");
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just read a blog post that explains MVC with a banking analogy. I
I just read this blog post on Razor Templating in ASP.NET MVC 3. Put
I've read the blog post at letitcrash.com about Play-mini and Akka ( this one
I'm using Linq to SQL and read in a blog post about closing database
I read at a few places (in the doc and in this blog post
I'm looking into exception handling in python and a blog post I read differentiated
I read this comment in the OpenID post on the stackoverflow blog. Kibbee says
I just read a blog which says ...methods that couldn’t be inlined previously because
I am using below rule to read the URL like URL: http://www.example.com/blog/sampe-post-title/10004/ RULE: RewriteRule
I recently read a blog post about having your code rely as little on

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.