Maven - No plugin found for prefix 'war' in the current project and in the plugin groups
一、問題
Eclipse 建立或匯入 Maven Web 專案後,在 pom.xml 檔案中出現異常
Multiple annotations found at this line:
- No plugin found for prefix 'war' in the current project and in the plugin groups [] available from the repositories
……
- Failure to transfer org.apache.maven.plugins:maven-resources-plugin:pom:2.6 from
……
二、方案在 pom.xml 中新增該外掛即可
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.6</version>
<configuration>
<encoding>utf-8</encoding>
</configuration>
</plugin>
相關文章
- 使用Maven打包你的應用——maven-jar-plugin & maven-assembly-plugin & maven-shade-pluginMavenJARPlugin
- Plugin 'org.apache.maven.plugins:maven-resources-plugin:2.7' not found less... (Ctrl+F1)問題解決PluginApacheMaven
- 排查qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.QTPluginPlatform
- Plugin with id 'com.android.application' not found.PluginAndroidAPP
- Apache Maven Assembly Plugin 的介紹ApacheMavenPlugin
- dockerfile-maven-plugin極簡教程DockerMavenPlugin
- Maven那些非常有用的 PluginMavenPlugin
- 解決Maven外掛無法下載Cannot resolve plugin org.apache.maven.plugins:maven-clean-plugin:2.5MavenPluginApache
- Maven 教程(21)— maven-compiler-plugin 外掛詳解MavenCompilePlugin
- Maven - Maven-dependency-plugin (goals "copy-dependencies","unpack") is not supportedMavenPluginGo
- 使用maven-war-plugin動態載入處理環境變數,過濾打包檔案MavenPlugin變數
- **spring-boot-maven-plugin:<unknown>**解決方法SpringbootMavenPlugin
- JQuery Plugin 2 - Passing Options into Your PluginjQueryPlugin
- Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compileAIGoApacheMavenPluginCompile
- maven-compiler-plugin外掛引數配置詳解MavenCompilePlugin
- 恕我直言!!!對於Maven,菜鳥玩dependency,神仙玩pluginMavenPlugin
- Taglist: Exuberant ctags (http://ctags.sf.net) not found in PATH. Plugin is not loaded.HTTPPlugin
- Webpack的pluginWebPlugin
- 基於jib-maven-plugin快速構建微服務docker映象MavenPlugin微服務Docker
- Framework + plugin架構FrameworkPlugin架構
- Gradle 自定義 pluginGradlePlugin
- phonegap-plugin-barcodescannerPlugin
- Clang Plugin 之 DebugPlugin
- 利用classfinal-maven-plugin對jar進行加密,防止反編譯MavenPluginJAR加密編譯
- 解決Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile(default-compile)AIGoApacheMavenPluginCompile
- 說說Loader和Plugin的區別?編寫Loader,Plugin的思路?Plugin
- 使用Docker WildFly和wildfly-maven-plugin實現Java應用容器化DockerMavenPluginJava
- mybatis plugin原始碼解析MyBatisPlugin原始碼
- pycharm 裝 go-pluginPyCharmGoPlugin
- MySQL Rewriter Query Rewrite PluginMySqlPlugin
- YYDS: Webpack Plugin開發WebPlugin
- Artifactory Terrafrom plugin來了!Plugin
- Go 1.8 的 plugin 使用GoPlugin
- capt 與 Android Gradle PluginAPTAndroidGradlePlugin
- Webpack原理-編寫PluginWebPlugin
- IDEA Plugin 開發探索IdeaPlugin
- Flutter Plugin開發流程FlutterPlugin
- Maven部署war至TomcatMavenTomcat