加载中…
个人资料
  • 博客等级:
  • 博客积分:
  • 博客访问:
  • 关注人气:
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
正文 字体大小:

vscode基于maven建立java项目引入第三方jar库

(2019-01-02 22:38:21)
分类: maven
------------------网摘,仅供本人学习-----------------


那么解决方式就是在编译时指定这些外部包的位置

pom.xml文件中加入配置

 <plugin>
     <artifactId>maven-compiler-plugin</artifactId>                                                              
                <configuration>                  
                     <source>1.7</source>                                      
                     <target>1.7</target>
                     <encoding>UTF-8</encoding>
                      <compilerArguments>           
                        <extdirs>lib</extdirs>
                     </compilerArguments>
                </configuration>
              </plugin>

0

阅读 收藏 喜欢 打印举报/Report
  

新浪BLOG意见反馈留言板 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 产品答疑

新浪公司 版权所有