Eclipse里maven的project報Unbound classpath variable: 'M2_REPO/**/***/***.jar'
但是實際上這個jar是存在于我本地機器上MAVEN的目錄里的,說明肯定M2_REPO這個參數(shù)Eclipse不認得,所以需要給它添上:
Eclipse->Windows->Preferences->java->Build Path->Classpath Variables
new一個,名字為M2_REPO,屬性選folder,
指向/home/calvin/.m2即可。