spurious org.springframework.beans.factory.NoSuchBeanDefinitionException
Cantor, Scott
cantor.2 at osu.edu
Tue Sep 12 12:56:24 UTC 2023
> Every once in a blue moon I get what seems to be a spurious exception
> complaining that the bean shibboleth.Conditions.SimpleAttribute doesn't
> exist.
Realistically that's either a Spring bug or more likely you have a contaminated system somewhere with a stale jar somewhere (if it's sporadic maybe there's a cluster and only one server is implicated). I would obviously blame Tomcat if you happened to use it, but I haven't really seen that kind of corruption with Jetty.
Were it me I would probably move the bean up into global.xml and that way it would fail at startup or not at all. It's waiting to fail because the beans aren't created until the interceptor flow actually runs for the first time.
But something is wrong with your deployment I would say.
-- Scott
More information about the users
mailing list