问题原因:

这里的问题是IntelliJ试图在不使用IDE中配置的Maven“用户设置文件”(settings.xml)的情况下解决所需的工件本身。它将直接连接到Maven Central,但被我的雇主屏蔽了

解决方案在pom文件添加:

 <dependency><!-- this is needed or IntelliJ gives junit.jar or junit-platform-launcher:1.3

【IDEA】idea 运行测试类报错 Failed to resolve org.junit.platform:junit-platform-launcher:1.5.2相关推荐

  1. 【Debugger】解决springboot报错Failed to resolve org.junit.platform:junit-platform-launcher:1.x.x的两种解决方案

    [Debugger]解决springboot报错Failed to resolve org.junit.platform:junit-platform-launcher:1.x.x的两种解决方案 主要 ...

  2. Nuxt3嵌套路由,报错Failed to resolve component: NuxtChild

    问题报错 [Vue warn]: Failed to resolve component: NuxtChild If this is a native custom element, make sur ...

  3. 报错Failed to resolve component: tree-item at <Tree onVnodeUnmounted=fn<onVnodeUnmounted> ref=Ref< n

    Failed to resolve component: tree-item at <Tree onVnodeUnmounted=fn ref=Ref< null > > at ...

  4. SpringBoot测试报错Failed to resolve org.junit.platform:junit-platform-launcher:1.7.2

    原因:junit版本有冲突 解决办法: 进入Maven仓库官网:https://mvnrepository.com/ 搜索"junit-platform-launcher",找到最 ...

  5. springBoot启动类报错

    关于SpringBoot启动类报错的问题解决: APPLICATION FAILED TO START Description: Field elasticsearchRestTemplate in ...

  6. 淘淘商城项目报错 Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-

    @[TOC](淘淘商城项目报错 Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (d ...

  7. Autopep8 安装时出现的两种报错 failed to create process 和 [Errno 2] No such file or directory

    Autopep8 安装时出现的两种报错 1.failed to create process 2.[Errno 2] No such file or directory 小结 关键词: autopep ...

  8. Pyinstaller 打包exe 报错 “failed to execute script XXX“的一种解决方案

    Pyinstaller 打包exe 报错 "failed to execute script XXX"的一种解决方案 参考文章: (1)Pyinstaller 打包exe 报错 & ...

  9. gradle 项目运行主类报错

    Error:gradle-resources-: java.lang.NoClassDefFoundError: org/apache/tools/ant/util/ReaderInputStream ...

最新文章

  1. ECCV 2020 Oral | 可逆图像缩放:完美恢复降采样后的高清图片
  2. Maven的配置以及Eclipse的设置
  3. 两个port贴合七夕主题,百度输入法的“情感营销”策略
  4. 前缀、中缀、后缀表达式及其相互转化的Java实现
  5. (Mybatis)缓存
  6. Makefile工程管理语法与使用技巧
  7. 第 8 章 配置listener监听器
  8. media player的显示模式 winform
  9. 【LeetCode】Sum Root to Leaf Numbers
  10. 最近30分钟合约市场爆仓842万美元
  11. Hibernate中的命名SQL查询
  12. Sequence of methods in form and table in AX
  13. 毕业论文word版 格式设置技巧
  14. The Backrooms - Level 0.2 - 我爱杏仁水
  15. 测试架构师修炼之道--读书笔记
  16. 2023最新车道线综述!近五年文章全面盘点(几何建模/机器学习/深度学习)
  17. 文本框插入表情和图片
  18. Filter过滤器(详细使用方法)
  19. 认证疑难问题分析报告
  20. SMTP错误码/建议解决方法

热门文章

  1. 腾讯未成年保护措施再优化,专治孩子忽悠家长帮过人脸识别
  2. ofo回应发币传闻:从未参与虚拟货币的发行 与GSE Lab合作已终止
  3. 倒了血霉!先是贾跃亭后有罗永浩,被拖欠4400多万,最惨公司无疑了
  4. 网友问有没有小米MIX 4 雷军的回应耐人寻味
  5. 雷军:小米MIX Alpha不是折叠屏手机,将会很震撼
  6. 元年·潮湃 首届搜狐5G峰会倒计时 参会大咖揭晓
  7. 中国5G标准专利数量遥遥领先:不卖产品也获利
  8. 官司缠身!马斯克和特斯拉目前面临数十起诉讼和调查
  9. Python 中的黑暗角落(三):模块与包
  10. Java中try、finally语句中有return时的执行情况