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 ...
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
Author, Spring Security 3 (the Book), Packt Publishing, 2010
SCJP, OCP
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?
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.
Author, Spring Security 3 (the Book), Packt Publishing, 2010
SCJP, OCP