Error running 'TestAlterNickname.test': Command line is too long. Shorten command line for TestAlterNickname.test or also for JUnit default configuration
问题描述
如图IDEA报错问题,发生在我用JUnit进行测试时。

解决方法
1. 直接点击 default

2. Modify options -> Shorten command line

3. 选jar

4. Apply
然后重新运行即可。

Error running 'TestAlterNickname.test': Command line is too long. Shorten command line for TestAlterNickname.test or also for JUnit default configuration的更多相关文章
- 【IntellJ IDEA】idea启动测试类报错Error running 'Test1.test': Command line is too long. Shorten command line for Test1.test or also for JUnit default configuration.
		idea启动测试类报错 Error running 'Test1.test': Command line is too long. Shorten command line for Test1.tes ... 
- Error running 'xxx': Command line is too long. Shorten command line for xxx
		跑单元测试时,报错如下: Error running 'xxx': Command line is too long. Shorten command line for xxx 解决方案: 在项目所在 ... 
- bug处理记录:Error running 'WorkflowApplication': Command line is too long. Shorten command line for WorkflowApplication or also for Spring Boot default configuration?
		1.报错信息 Error running 'WorkflowApplication': Command line is too long. Shorten command line for Workf ... 
- [Java/IDE]IDEA运行Java类时报错:Error running 'MainTest': Command line is too long. Shorten command line for MainTest or also for Application default configuration
		报错原因 Java项目启动命令过长 解决方法 点击项目启动配置项 -> shorten command line 选项选择 classpath file 或 java manifest 选项 - ... 
- IDEA命令行缩短器助你解决此问题:Command line is too long. Shorten command line...
		生命太短暂,不要去做一些根本没有人想要的东西.本文已被 https://www.yourbatman.cn 收录,里面一并有Spring技术栈.MyBatis.JVM.中间件等小而美的专栏供以免费学习 ... 
- idea解决Command line is too long. Shorten command line for ServiceStarter or also for Application报错
		找到 .idea\workspace.xml: 找到<component name="PropertiesComponent">,在里面添加<property n ... 
- idea报错:Error running $classname: Command line is too long. Shorten command line for $classname.
		Command line is too long 打印的变量太长了,超过了限制,这都会报错...我只想知道idea基于什么原理会报这个错... 解决 1.按照提示修改该类的配置,选择jar manif ... 
- idea启动springboot项目报Error running 'ServiceStarter': Command line is too long. Shorten command line for ServiceStarter or also for Application
		解决办法:在.idea文件夹下面的workspace.xml中的 <component name="PropertiesComponent">标签下面添加: <p ... 
- idea 启动 Error running 'XxGatewayApplication': Command line is too long. Shorten command line for XxGatewayApplication or also for Spring Boot default
		在idea workspace里 <component name="PropertiesComponent">标签下加入 <property name=" ... 
- Error running 'App': Command line is too long. Shorten command line for App or also for Spring Boot default configuration.
		找到标签 <component name="PropertiesComponent">.在标签里加一行 : <property name="dynam ... 
随机推荐
- Java通用返回工具类Result
			通用返回类Result 前言:Java项目搭建时,常常需要去封装一个通用型的Result工具类,下面就是我自己封装的常用的返回类,可以直接使用.(有部分Swagger注解,使用时可忽略) 第一步.创建 ... 
- 关于vue的一些使用总结
			了解响应式原理后对代码的一点小重构 在操作一个响应式变量的时候,可能会多次去取这个响应式变量的值,这就意味着会多次执行依赖收集中的get,可以用一个局部变量缓存下来,这样只需要一次get操作. // ... 
- python: ImportError: cannot import name '_unicodefun' from 'click'
			报错 报错原因 click模块版本问题 解决方案 指定click版本为8.0.4 参考链接 https://github.com/psf/black/issues/2964 
- C++ 核心指南之 C++ P.哲学/基本理念(上)
			C++ 核心指南(C++ Core Guidelines)是由 Bjarne Stroustrup.Herb Sutter 等顶尖 C+ 专家创建的一份 C++ 指南.规则及最佳实践.旨在帮助大家正确 ... 
- vscode c++食用指南
			准备 配置环境为机房的 win10. 首先你需要下载 vscode. 可以从官网下载:https://code.visualstudio.com/Download 配置编译c++ 下载完之后安装好,界 ... 
- [故障处理]nfs导致系统负载异常
			目录 情况 排查 原因 解决 情况 某台虚拟机服务器系统负载极高,但是cpu.内存.IO都正常.home目录下无法使用ls,也无法使用 df -h. 排查 top看cpu和内存,正常. iotop看i ... 
- Programming abstractions in C阅读笔记: p118-p122
			<Programming Abstractions In C>学习第49天,p118-p122,总结如下: 一.技术总结 1.随机数 (1)seed p119,"The init ... 
- numpy中计算相关系数的np.corrcoef
			np.corrcoef的作用 计算 Pearson 乘积矩相关系数.它可以用来分析给定数据集中各个变量之间的线性相关程度,返回一个相关系数矩阵,相关系数矩阵中的值介于 -1 到 1 之间,包括 -1 ... 
- 大企业才用的分布式唯一Id,它比GUID好
			支持.Net Core(2.0及以上)与.Net Framework(4.5及以上) 可以部署在Docker, Windows, Linux, Mac. 分布式唯一Id,顾名思义,是指在全世界任何一台 ... 
- IDEFICS 简介: 最先进视觉语言模型的开源复现
			引言 Code Llama 是为代码类任务而生的一组最先进的.开放的 Llama 2 模型,我们很高兴能将其集成入 Hugging Face 生态系统!Code Llama 使用与 Llama 2 相 ... 
