サポートされていないWTPバージョン:1.5. このプラグインは現在、以下のバージョンのみをサポートしています:1.0 R7

サポートされていないWTPバージョン:1.5。 このプラグインは現在、次のバージョンのみをサポートしています:1.0 R7

多くの場合、「mvn eclipse:eclipse -Dwtpversion=1.5」コマンドを使用してEclipse IDE用のWebプロジェクトを作成できますが、次のエラーメッセージが表示される場合があります。

Unsupported WTP version: 1.5.
This plugin currently supports only the following versions: 1.0 R7
D:\example>mvn eclipse:eclipse -Dwtpversion=1.5
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'eclipse'.
[INFO] ------------------------------------------------------------------------
[INFO] Building wicketHelloWorld
[INFO]    task-segment: [eclipse:eclipse]
[INFO] ------------------------------------------------------------------------
[INFO] Preparing eclipse:eclipse
[INFO] No goals needed for project - skipping
[INFO] [eclipse:eclipse]
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Unsupported WTP version: 1.5. This plugin currently supports only the
following versions: 1.0 R7

解決策は、「maven-eclipse-plugin」Mavenプラグインをpom.xmlファイルに含めることです。


      org.apache.maven.plugins
      maven-eclipse-plugin
      2.5
      
         1.5
      

完了しました。 mvn eclipse:eclipse -Dwtpversion=1.5コマンドを再試行してください。