Consider the fiber bundle $S^{2n+1}\to \mathbb{CP}^n$, which has fiber $S^1$. All nonzero degree cohomology classes of $\mathbb{CP}^n$ are killed by this pull-back since the cohomology of $S^{2n+1}$ is zero in those degrees.