- 背景:项目需要打包给测试进行安全漏洞检测,但是一直打包失败
- 详细:报错代码如下
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
- 解决方案:屏蔽如下代码即可
其实是参考了这里,然后来了一波反向思维:https://www.freesion.com/article/5832971107/