I am upgrading DD4T from 2.0.13 version to 2.1.5 and when I replaced DD4T jars I observe that my compile is failing: enter image description here If I open the org.dd4t.databind.DataBindFactory I see that it's deprecated: enter image description here

So can someone please explain what needs to be done?

1 Answer 1


The recommended way is to autowire the databinder into your controller using Spring, using the @Autowired annotation.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.