  We present several classes of exact solutions in the Einstein-Klein-Gordon
system with a cosmological constant. The spacetime has spherical, plane, or
hyperbolic symmetry and the higher-dimensional solutions are obtained in a
closed form only in the plane symmetric case. Among them, the class-I solution
represents an asymptotically locally anti-de Sitter (AdS) dynamical black hole
or wormhole. In four and higher dimensions, the generalized Misner-Sharp
quasi-local mass blows up at AdS infinity, inferring that the spacetime is only
locally AdS. In three dimensions, the scalar field becomes trivial and the
solution reduces to the BTZ black hole.
