The biographies of Imam Abu Hanifah haven't mentioned Imam Ja'far as his teacher, but it does mention Imam Muhammad al-Baqir as his teacher, if someone has any narrations of Imam Abu Hanifah narrating from Imam Ja'far then please bring it forward, otherwise the only thing that can be said is they were both contemporaries and they took from each other in the looser sense.