1. 要去设置jdk/jre: File -> Project structure menu and go to Project Settings -> Project tab.
  2. 还要设置marven: preferences-> marven->user setting file