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 assembly plugin,maven dependency plugin的使用MavenPlugin
- maven-war-plugin 外掛 web.xml 缺失時忽略MavenPluginWebXML
- 使用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
- The plugin 'org.apache.maven.plugins:maven-tomcat-plugin' does not exist or no vPluginApacheMavenTomcat
- Maven那些非常有用的 PluginMavenPlugin
- Apache Maven Assembly Plugin 的介紹ApacheMavenPlugin
- dockerfile-maven-plugin極簡教程DockerMavenPlugin
- 排查qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.QTPluginPlatform
- 測試外掛maven-surefire-pluginMavenPlugin
- vertx外掛使用vertx-maven-pluginMavenPlugin
- Maven Jetty Plugin執行配置jetty:runMavenJettyPlugin
- tomcat-maven-plugin的使用 [轉]TomcatMavenPlugin
- 解決Maven外掛無法下載Cannot resolve plugin org.apache.maven.plugins:maven-clean-plugin:2.5MavenPluginApache
- Maven - Maven-dependency-plugin (goals "copy-dependencies","unpack") is not supportedMavenPluginGo
- 使用maven-war-plugin動態載入處理環境變數,過濾打包檔案MavenPlugin變數
- Plugin with id 'com.android.application' not found.PluginAndroidAPP
- Maven 教程(21)— maven-compiler-plugin 外掛詳解MavenCompilePlugin
- org.apache.maven.plugins:maven-archetype-plugin does not existApacheMavenPlugin
- Error:(4, 0) Plugin with id 'com.jakewharton.butterknife' not found.ErrorPlugin
- JQuery Plugin 2 - Passing Options into Your PluginjQueryPlugin
- **spring-boot-maven-plugin:<unknown>**解決方法SpringbootMavenPlugin
- 恕我直言!!!對於Maven,菜鳥玩dependency,神仙玩pluginMavenPlugin
- maven-compiler-plugin外掛引數配置詳解MavenCompilePlugin
- Webpack的pluginWebPlugin
- 使用yuicompressor-maven-plugin壓縮js及css檔案UIMavenPluginJSCSS
- Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compileAIGoApacheMavenPluginCompile
- chrome extension/plugin pathChromePlugin
- Framework + plugin架構FrameworkPlugin架構
- 基於jib-maven-plugin快速構建微服務docker映象MavenPlugin微服務Docker
- Taglist: Exuberant ctags (http://ctags.sf.net) not found in PATH. Plugin is not loaded.HTTPPlugin
- 使用eclipse執行maven-release-plugin外掛釋出jar異常問題(.project)(Cannot prepare the release because you have local modifications )EclipseMavenPluginJARProject
- MySQL Rewriter Query Rewrite PluginMySqlPlugin
- pycharm 裝 go-pluginPyCharmGoPlugin
- Webpack原理-編寫PluginWebPlugin
- Gradle 自定義 pluginGradlePlugin
- Go 1.8 的 plugin 使用GoPlugin
- Clang Plugin 之 DebugPlugin