首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
您现在的位置: 程式碼之家 >> 編程語言 >  >> 更多程式語言 >> 程式設計綜合問答

Eclipse Maven 專案建構錯誤:Missing launch configuration type Maven2BuilderConfigurationType

     編輯:程式設計綜合問答

錯誤訊息

Launch configuration type id "org.maven.ide.eclipse.Maven2BuilderConfigurationType" does not exist.
Possible causes: Missing specification of a launch type (missing plug-in)

根本原因

Eclipse 缺少 **m2e(Maven Integration for Eclipse)** 外掛,或外掛版本與專案 .project 中的 Builder 定義不匹配(如專案由舊版 m2e 建立,新版 Eclipse 無對應 Builder)。

解決步驟

  1. 安裝/更新 m2e:Help → Eclipse Marketplace → 搜尋 "m2e" → Install/Update。
  2. 重新導入專案:File → Import → Existing Maven Projects,讓 m2e 重新生成 .project、.classpath。
  3. 手動修正 .project(不推薦):移除舊 builder 區塊,改用標準 org.eclipse.m2e.core.maven2Builder。

參考資源

  1. 上一篇文章:
  2. 下一篇文章:
Copyright © 程式碼之家 All Rights Reserved