An electronic component such as a capacitor having a pair of electrodes interposing a dielectric layer and a photosensitive metal oxide semiconductor layer therebetween. The electronic component is formed by immersing the layered body of one electrode, the dielectric, and the metal oxide layer in an electroless plating catalytic solution to have the catalyst deposited on the metal oxide layer and then by forming an electrode on the catalyst layer. The catalyst can be deposited in a pattern by irradiating the metal oxide layer with light during immersing the body in the catalytic solution. <IMAGE>