添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
发财的太阳  ·  GitHub - ...·  4 周前    · 
勤奋的鸭蛋  ·  RUN Instruction Using ...·  3 周前    · 
小眼睛的火车  ·  How to run Docker ...·  2 周前    · 
爽快的伤痕  ·  组件问题 - JumpServer 文档·  11 小时前    · 
坚强的馒头  ·  windows gmock安装 - CSDN文库·  3 月前    · 
飘逸的山羊  ·  Solved: Could not ...·  4 月前    · 
完美的鸵鸟  ·  Python3 ...·  4 月前    · 
纯真的鼠标垫  ·  原神MMD pocky 挑战 ...·  5 月前    · 

报错信息:

[WARNING] The requested profile "dev-docker" could not be activated because it does not exist.
[ERROR] Failed to execute goal com.spotify:docker-maven-plugin:1.0.0:build (default-cli) on project catdemo: Exception caught: basedir \src\main\docker does not exist ->
[Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:

大致意思就是 \src\main\docker 不存在  也就是找不到dockerfile文件

看了网上说好像docker配置里有个识别路径,前面自动拼接了什么之类的,没有去细查

把<dockerDirectory>标签加上${project.basedir},整到最后反正还是个路径的问题

Fail ed to ex ecute goal com.spotify: docker -maven-plugin:1.0.0:build Ex ception caught: based ir src / main / docker does not exist Deploy Spring Cloud project with docker , some code in the pom.xml: &lt;bui...
解决办法如下 openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout mykey.key -out mycert.pem 这是由于缺少证书导致的 解决原理: 生成自签名证书openssl,创建一个有效期为 365 天的证书,并将密钥和证书数据写入同一文件。
错误描述:在执行maven install的时候有时会出现 The request ed profile “pom.xml” could not be activated because it does not exist 的错误 解决办法:在 项目 中单击右键 --属性 --maven,将此处清空保存即可