-
Notifications
You must be signed in to change notification settings - Fork 491
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
Cannot create proxy for spring component without default constructor #232
Comments
+1 |
Proxy of a class without default constructor is supported from Spring4: For more explanation see http://blog.codeleak.pl/2014/07/spring-4-cglib-based-proxy-classes-with-no-default-ctor.html. I have replicated Spring solution with Objenesis library. |
… cglib version and cache problem. Proxy of class without default constructor NOT supported for theses versions.
I receive an error when trying to obtain a bean which class doesn't have a default constructor (has its constructor arguments autowired) from ApplicationContext:
The text was updated successfully, but these errors were encountered: