右键项目-->Build Path-->Configure Build Path-->Projects-->选中依赖的项目-->Remove 右键项目-->Maven-->Enable Dependency Management