
maven
文章平均质量分 89
后知后觉的肖邦
荣耀的背后刻着一道孤独
展开
-
Maven 项目中依赖的搜索顺序
网上有很多关于maven项目中mirror、profile、repository的搜索顺序的文章,说法不一。官方文档并没有找到相关的说明,鉴于此,我抽时间做了一个验证。依赖仓库的配置方式maven项目使用的仓库一共有如下几种方式:中央仓库,这是默认的仓库 镜像仓库,通过 sttings.xml 中的 settings.mirrors.mirror 配置 全局profile仓库,通过 settings.xml 中的 settings.repositories.repository 配置 项目转载 2021-11-17 20:10:59 · 881 阅读 · 0 评论 -
maven项目打包时,[ERROR] Unable to locate the Javac Compiler in:
错误内容[ERROR] Unable to locate the Javac Compiler in: D:\installed\jre1.8\..\lib\tools.jarPlease ensure you are using JDK 1.4 or above andnot a JRE (the com.sun.tools.javac.Main class is required)....原创 2018-04-04 14:38:41 · 1159 阅读 · 0 评论