关于maven package时 检索jdk自带的rt等sun下的class失败解决方案

来源:互联网 发布:三菱plc仿真教学软件 编辑:程序博客网 时间:2024/06/05 00:17

使用maven compile 插件

<plugin><artifactId>maven-compiler-plugin</artifactId><version>3.1</version><configuration><source>1.8</source><target>1.8</target><encoding>UTF8</encoding><!--添加如下配置--><fork>true</fork><compilerArgument>-XDignore.symbol.file</compilerArgument></configuration></plugin>
阅读全文
0 0
原创粉丝点击