当前位置:网站首页>报错IDEA Terminated with exit code 1
报错IDEA Terminated with exit code 1
2022-07-31 12:56:00 【饿饿好饿】
参考文章:https://blog.csdn.net/qq_45037155/article/details/124094157
本人亲测,在使用IDEA使用Maven模板创建项目或者在当前项目中New Project,Maven的以下三个配置参数会重置使用C:UsersZSAndroid.m2的默认maven下载方式。
Maven home path(Maven安装路径)
User settings file(Maven下载使用的settings.xml)
Local repository(Maven本地仓库,settings.xml下载存放资源的目录)
如果在IDEA构建项目时遇到下面这样的报错IDEA Terminated with exit code 1,那必然是Maven的设置参数重置了,导致下载错误引起的。

IDEA Terminated with exit code 1
**解决方式(1)设置settings(当前项目):File——settings——**Build,Excution,Deployment——Build Tools——Maven,手动设置自己安装配置的Maven,重启IDEA,就会自动以阿里源资源构建成功。


解决方式(2)设置settings(全局项目):File——New Projects Setup——Settings for New Projects——Build,Excution,Deployment——Build Tools——Maven



先自我介绍一下,小编13年上师交大毕业,曾经在小公司待过,去过华为OPPO等大厂,18年进入阿里,直到现在。深知大多数初中级java工程师,想要升技能,往往是需要自己摸索成长或是报班学习,但对于培训机构动则近万元的学费,着实压力不小。自己不成体系的自学效率很低又漫长,而且容易碰到天花板技术停止不前。因此我收集了一份《java开发全套学习资料》送给大家,初衷也很简单,就是希望帮助到想自学又不知道该从何学起的朋友,同时减轻大家的负担。添加下方名片,即可获取全套学习资料哦
边栏推荐
- NameNode (NN) 和SecondaryNameNode (2NN)工作机制
- docker部署完mysql无法连接
- IDEA版Postman插件Restful Fast Request,细节到位,功能好用
- Banyan Tree Loan GPU Hardware Architecture
- Three-Phase PWM Rectifier Predictive Direct Power Control
- Centos7 install mysql5.7 steps (graphical version)
- ERROR 2003 (HY000) Can‘t connect to MySQL server on ‘localhost3306‘ (10061)解决办法
- ASM外部冗余是否可以替换磁盘
- NPM 使用介绍
- 列表页优化思路
猜你喜欢

The 2nd activity of the TOGAF10 Standard Reading Club continues wonderfully, and the highlights will be reviewed!

C#控件 ToolStripProgressBar 用法

networkx绘制度分布
尚硅谷–MySQL–基础篇(P1~P95)

深圳某游戏研发公司每个工位都装监控,网友:堪比“坐牢”!

电商rpa是什么意思?跟电商rpi是一个意思吗?

ERROR 2003 (HY000) Can‘t connect to MySQL server on ‘localhost3306‘ (10061)解决办法

CentOS7 - yum install mysql

PyQt5快速开发与实战 10.1 获取城市天气预报

ASM module in SAP Ecommerce Cloud Spartacus UI and Accelerator UI
随机推荐
Wearing detection and action recognition of protective gear based on pose estimation
jmeter性能测试步骤入门(性能测试工具jmeter)
C#控件CheckBox的使用
Flutter键盘可见性
Using SQL Server FOR XML and FOR JSON syntax on other RDBMSs with jOOQ
中望3D 2023正式发布,设计仿真制造一体化缩短产品开发周期
查看Oracle数据库的用户名和密码
攻防演练丨赛宁红方管控平台走进广东三地 助力数字政府网络安全建设
[Shader] Shader official example [easy to understand]
SAP 电商云 Spartacus UI 和 Accelerator UI 里的 ASM 模块
基于改进YOLOv5的轻量化航空目标检测方法
FastAPI encapsulates a generic response
The 2nd activity of the TOGAF10 Standard Reading Club continues wonderfully, and the highlights will be reviewed!
2022年最新重庆建筑安全员模拟题库及答案
ASM module in SAP Ecommerce Cloud Spartacus UI and Accelerator UI
基本语法(一)
Centos7 install mysql5.7 steps (graphical version)
networkx绘制度分布
使用docker搭建mysql主从
Structural controllability of switched linear systems with symmetry constraints