. ▁Neg oti ations ▁arose ▁to ▁replace ▁Mag u ire ▁with ▁J ake ▁Gy ll en ha al , ▁though ▁Mag u ire ▁recovered ▁and ▁was ▁able ▁to ▁repr ise ▁his ▁role , ▁with ▁a ▁sal ary ▁of ▁$ 1 7   mill ion . ▁ ▁K irst en ▁D unst ▁as ▁Mary ▁Jane ▁Watson : ▁A ▁friend ▁Peter ▁has ▁loved ▁since ▁he ▁was ▁a ▁child , ▁yet ▁he ▁gave ▁up ▁the ▁chance ▁of ▁being ▁with ▁her ▁out ▁of ▁concern ▁for ▁her ▁safety . ▁ ▁James ▁Franco ▁as ▁Harry ▁Os born : ▁O sc orp ' s ▁leader , ▁Norman ▁Os born ' s ▁son ▁and ▁Peter ' s ▁best ▁friend ▁who ▁holds ▁Spider - Man ▁responsible ▁for ▁his ▁father ' s ▁death . ▁ ▁Alfred ▁Mol ina ▁as ▁Otto ▁Oct av ius ▁/ ▁Doctor ▁Oct opus : A ▁scient ist ▁and ▁Peter ' s ▁role ▁model ▁who ▁goes ▁ins ane ▁after ▁his ▁failure ▁to ▁create ▁a ▁self - s ust aining ▁fusion ▁reaction . ▁Oct av ius ▁is ▁bond ed ▁with ▁his ▁handling ▁equipment , ▁four ▁artificial ly ▁intellig ent ▁mechanical ▁tent acles . ▁Sam ▁Ne ill , ▁Robert ▁De ▁N iro , ▁and ▁Ed ▁Harris ▁were ▁considered ▁for ▁the ▁role ▁of ▁Doctor ▁Oct opus ; ▁Mol ina ▁was ▁cast ▁as ▁Oct av ius ▁in ▁February ▁ 2 0 0 3 ▁and ▁immediately ▁began ▁physical ▁training ▁for ▁the ▁role . ▁Ra imi ▁had ▁been ▁im pressed ▁by ▁his ▁performance ▁in ▁Fr ida ▁and ▁also ▁felt ▁he ▁had ▁the ▁physical ity . ▁Mol