Zeta-function regularization of one-loop effective potentials in anti-de Sitter spacetime