dubbo專案打包的坑--Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile
技術標籤:Java
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project capacity-web-plugins-auth: Compilation failure: Compilation failure: [ERROR] /G:/xxx/xxx/.../auth/func/GetAccount.java:[44,28] 找不到符號 [ERROR] 符號: 方法 setUuid(java.lang.String) [ERROR] 位置: 型別為cn.xxx.api.sys.req.SysLoginInfoReq的變數 sysLoginInfoReq
dubbo專案中有多個專案,使用maven打包時,由於web專案的pom引用了底層的pom,但是底層的pom依賴沒有install到本地倉庫,導致打包失敗。
根據報錯,一頓百度都是說沒有新增依賴或者jdk版本不對,修改了版本,添加了依賴,打包依舊失敗,顯示找不到set方法,查看了lombok外掛以及lombok的設定也沒有問題。
最後,原因處在最後面的pxxx-dependencies專案沒有install,web專案在本地倉庫中找不到所需要的依賴,所以打包失敗。
相關推薦
dubbo專案打包的坑--Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile
技術標籤:Java [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project capacity-web-plugins-auth: Compilation failure: Compilation fa
Springboot專案Maven打包報錯:Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0:resources
今天新建一個前端demo專案,需要引入thymeleaf依賴,專案執行和測試都正常,但是打包的時候卻報以下錯誤:
maven 打包時報錯 (Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) Compilation failure javac: �Ҳ����ļ�:)
解決在idea中使用maven外掛時出現亂碼 分析原因:上述亂碼的中文其編碼是windows下的本地編碼(GBK)在idea 整合的 maven中使得預設vm 的編碼是utf-8.所以出現控制檯亂碼.
Spring Boot 打包報錯Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0
問題描述 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0:resources (default-resources) on project helloworld: Input length = 1 -> [Help 1]
通過Maven匯出war包時報錯:Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.2:war (default-war) on project
通過Maven匯出war包時報錯:Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.2:war (default-war) on project Ocr: Error assembling WAR: webxml attribute is required (or pre-existing WEB
【maven】Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.3:site (default-site)
問題描述 site一點選就報錯,如下 Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.3:site (default-site)
Maven Spring入門問題:Failed to execute goal org.codehaus.mojo:exec-maven-plugin:3.0.0:exec (default-cli)
最近在學習Spring,進度非常鹹魚 火上澆油 在執行時遇到了一個錯誤 Failed to execute goal org.codehaus.mojo:exec-maven-plugin:3.0.0:exec (default-cli) on project spring-02-hellospring: Command ex
Failed to execute goal org.apache .maven.plugins.maven-resounces-plugin:3.2.0:resounces
1.在部署微服務系統的服務中心和服務提供者時,在打包的過程中,出現過如下的錯誤:
[雷]單元測試報錯--Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test
技術標籤:日常bug製造 專案場景: SpringBoot整合Mybatis-Plus時,進行單元測試時報錯
解決:Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile
技術標籤:bugmavenjavabug 在IDEA中使用Maven外掛中的install命令,發現報錯: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project maven02:
[解決:Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile錯誤](https://www
技術標籤:mavenjavamysqlspring 問題分析: 不能執行依賴包maven-compiler-plugin:2.3.2,判斷原因是缺少這個jar包。 問題解決: 開啟pom.xml檔案,在適當位置加入下列依賴(缺什麼添什麼):
Maven釋出出錯:Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy
技術標籤:DebugJava Maven釋出jar包報錯:Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy
Failed to execute goal org.apache.tomcat.maven:tomcat7-maven-plugin:2.2:run (default-cli) on project
技術標籤:mavenBUGSpringjavabugmavenaopssm 完整報錯資訊 Failed to execute goal org.apache.tomcat.maven:tomcat7-maven-plugin:2.2:run (default-cli) on project jurisdiction_controller: Could not star
eclipse——mvn clean package ——Failed to execute goal org.apache.maven.plugins:maven-clean-plugin
https://blog.csdn.net/qq_39249094/article/details/114842346 當我們在用 eclipse 執行 run install 或者 run clean 的時候可能會出現Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:3.1
Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile
一、問題由來 下午的時候,電腦用得好好的,突然一下宕機,麼辦法只能夠重新啟動。再次開啟IDEA的時候,之前開啟的所有的專案
Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.1:test (default-test) on
解決錯誤 Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.1:test (default-test) on project qc-offline-report: There are test failures.
maven build時報錯Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test
maven build時報錯Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test
Failed to execute goal org.scala-tools:maven-scala-plugin:2.15.2:compile (scala-compile-first
寫完程式碼開開心心。。一打包。臥槽。。。然後半天過去了。。我還在解決這個鬼錯誤。百度上都是說什麼本地scala版本和idea scala版本衝突。。
maven package 打包報錯 Failed to execute goal的解決
總結一下maven 打包,專案工程開發工具idea14,使用 JDK 1.8 版本 1.打包前需要先將idea關掉,不然會導致mvn clean的時候,部分檔案刪除不掉,mvn package的時候,也會丟失檔案。
Docker打包錯誤:Failed to execute goal com.spotify:docker-maven-plugin:1.2.0:build (default-cli) on project security
Failed to execute goal com.spotify:docker-maven-plugin:1.2.0:build (default-cli) on project security: Exception caught