-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix detection of FilterChainProxy bean presence… #549
Conversation
…nDefinitionException isn't thrown if the class resolves but the bean doesn't exist
@bkoehm I can't replicate the problem https://github.com/codeconsole/demo-622-to-7 I don't understand why you have FilterChainProxy in your class path, but don't have a filterChain? |
@codeconsole I'm encountering it in a unit test that implements |
Relevant part of a stacktrace of failing test:
|
ok, well if that is the case, I would prefer to just ignore the exception. Does this work for you? |
Yep, works for me. |
…such that a NoSuchBeanDefinitionException isn't thrown if the class resolves but the bean doesn't exist