• 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
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Looking someone to explain the following share application context related error

 
Ranch Hand
Posts: 450
  • 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

 
Bartender
Posts: 2438
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: 450
  • 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.
 
He does not suffer fools gladly. But this tiny ad does:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic