• 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 ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Looking someone to explain the following share application context related error

 
Ranch Hand
Posts: 488
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can anyone explain me this error and why it occured with Spring 6 version only ?

Here is the error I encountered while trying to start tomcat 10.X with Spring MVC and security 6.




Since I have XML config, when I defined a bean named mvcHandlerMappingIntrospector inside my applicationContext-security.xml, it stopped complaining about it but I am trying to understand what has changed from Spring 5.X to Spring 6.X that has started causing this error. The online documentaion of spring is not very clear to me as they have mentioned few things about it here : https://docs.spring.io/spring-security/site/docs/5.0.x/reference/html/mvc.html
But that's Spring 5.X doc and I never encountered this error in Spring 5.X, it's only when I recently migrated to Spring 6, and trying to start my application, I encountered above error.

I have somewhat similar XML setup like this user of this thread who encountered same error but his solution is different than mine as far as fixing this error is concerned.
https://coderanch.com/t/781707/frameworks/bean-named-mvcHandlerMappingIntrospector

 
Saloon Keeper
Posts: 2449
13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Does this discussion help:
https://github.com/spring-projects/spring-security/issues/14636  ?
 
Jack Tauson
Ranch Hand
Posts: 488
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Himai Minh wrote:Does this discussion help:
https://github.com/spring-projects/spring-security/issues/14636  ?



I don't think so. Thanks though.  An explanation based on my situation would be appreciated.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic