如果是 Eclipse IDE 的话,可能 maven 找不到 jar ,pom.xml 本身就有出错标记。
你可以先 Maven Update 一下 (Eclipse , maven > update project),然后重启