其他分享
首页 > 其他分享> > MAVEN打包时报错:An unknown compilation problem occurred

MAVEN打包时报错:An unknown compilation problem occurred

作者:互联网

  1. 背景:项目需要打包给测试进行安全漏洞检测,但是一直打包失败
  2. 详细:报错代码如下
Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project esg-occp-core: Compilation failure
An unknown compilation problem occurred
  1. 解决方案:屏蔽如下代码即可
    在这里插入图片描述

其实是参考了这里,然后来了一波反向思维:https://www.freesion.com/article/5832971107/

标签:compile,unknown,compilation,occurred,maven,打包
来源: https://blog.csdn.net/wyouwd1/article/details/119345329