We investigate the heavy-element nucleosynthesis of a massive star whose mass in the main sequence stage is Mms=70M⊙. Detailed calculations of the nucleosynthesis are performed during the hydrostatic stellar evolution until the core composed of iron-group nuclei begins to collapse. As a supernova explosion model, a collapsar model is constructed whose jets are driven by magnetohydrodynamical effects of a differentially rotating core. The heavy-element nucleosynthesis inside the jet of a collapsar model is followed along the trajectories of stream lines of the jet. We combine the results of both hydrostatic and heavy-element nucleosyntheses to compare with the solar abundances. We find that neutron-rich elements of 70<A<140 are highly overproduced relative to the solar abundances. Therefore, we conclude that this scenario should be rare and elements of A≲70 are compensated for other supernova explosion models. We find also that different mass formula changes significantly the production of elements of A>140.