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

Anyone know what this Spring security error means?

 
Ranch Hand
Posts: 436
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I'm using Spring 3.0. We're trying use the Spring security module on our site. We are seeing this error in our logs on startup and wonder if anyone knows what it means and how to solve it. We see



Here is what we are using for our Spring securityContext.xml file ...



Grateful for any thoughts, - Dave
 
Author
Posts: 84
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Dave,

This looks 90% probable not to be related to Spring Security. Do you have any other configuration files OR do you have a bean using constructor injection with the @Autowired annotation? If you enable a higher level of Spring logging, you should get information on what specific bean it is trying to wire.

Peter
 
Dave Alvarado
Ranch Hand
Posts: 436
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Peter, I do have autowired beans and other config files that are numerous. When you say, "enable a higher level of logging", it seems Spring is already logging at a DEBUG level, so how do I get more granular than that?

- Dave
 
Peter Mularien
Author
Posts: 84
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sorry, I missed that

1> Could you please give us (or review) the previous few lines above this one you posted?
2> Alternatively, you can simply run this in a debugger and set a breakpoint at the line indicated OR on the NoSuchFieldException exception (most IDEs can do this). This approach has been successful for me in the past when trying to diagnose difficult problems.
 
Dave Alvarado
Ranch Hand
Posts: 436
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Regarding the logs. Here are the lines immediately before what I posted ...



Thanks, - Dave
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic