maven
_修铁路的
工作是为了更好的生活,生活是为了更好的工作
展开
-
【maven】将jar包添加进本地仓库中
开发时,偶尔会遇到需要的jar包,明明maven仓库中心有,但就是载不下来,需要我们从仓库中心,下载后,将jar包添加进本地的仓库中,供项目总的pom文件引用。 1. 从maven仓库中心或者是其他途径下载我们所需要的jar包 2. 在文本编辑器中,提前编辑好以下命令,根据jar包实际情况替换对应的变量mvn install:install-file "-Dfile=本地jar包所在路径" "-DgroupId=设置groupId" "-Darti...原创 2021-11-23 20:49:57 · 10531 阅读 · 0 评论 -
maven国内镜像(maven下载慢的解决方法)
原文转载至:http://www.cnblogs.com/xiongxx/p/6057558.htmlMaven是当前流行的项目管理工具,但官方的库在国外经常连不上,连上也下载速度很慢。国内oschina的maven服务器很早之前就关了。今天发现阿里云的一个中央仓库,亲测可用。 alimaven central aliyun maven转载 2017-03-14 21:49:14 · 289 阅读 · 0 评论 -
解决maven 项目启动 javax.validation.ValidationException: HV000183: Unable to initialize 'javax.el.Expressi
maven 项目启动tomcat 时报的错误: 2017-07-09 11:28:13,177 [RMI TCP Connection(5)-127.0.0.1] ERROR org.springframework.web.context.ContextLoader - Context initialization failedorg.springframework.beans.facto原创 2017-07-09 11:30:19 · 11960 阅读 · 0 评论 -
IDEA Execute maven Goal command line
简单记录 IDEA 执行 maven 编译的命令IDEA Execute maven Goal command line: clean install -e -U -Dmaven.test.skip=true原创 2018-01-15 10:29:14 · 10965 阅读 · 0 评论 -
war exploded' because it is included into a circular dependency
错误现象:更改项目名后,重新启动tomcat,maven报以下错误:Error:Cannot build Artifact 'XXXX:war exploded' because it is included into a circular dependency解决办法:打开项目所在的文件夹 (项目所在文件夹\项目名称\restaurant-member-system-ba原创 2018-01-15 10:46:32 · 3333 阅读 · 0 评论 -
Maven 项目更改项目名称
打开当前项目的 pom.xml 文件,将以下几点旧名称更改为新的项目名称即可groupId、artifactId、version 三者组合作为 maven 仓库中的唯一标识,视具体情况进行更改,groupId 一般为包路径,artifactId 一般为项目名称finnalName 更改为项目名称最后一步就是更改项目在当前系统中的文件夹名称,然后重新打开项目,启动。原创 2018-01-15 11:03:01 · 18059 阅读 · 0 评论