当前位置:网站首页>Error running ‘XXX‘: Command line is too long. Shorten command line for AudioTest or also ...
Error running ‘XXX‘: Command line is too long. Shorten command line for AudioTest or also ...
2022-07-23 06:47:00 【Arenaschi】
通过idea 进行Test单元测试时,报了以下这类错误:
idea:Command line is too long. Shorten command line for xxxor also for xxx 报错
Error running 'XXX': Cannot run program "C:\Program Files\Java\jdk1.8.0_131\bin\java.exe" (in directory "E:\project1\XXX"): CreateProcess error=206, 文件名或扩展名太长。
错误原因 :
出现这个的原因一般是因为项目需要打印的环境变量太长,超过了限制,需要你缩短命令行来解决问题。
解决方案:
1.找到idea 下面的 workspace.xml
2.找到<component name="PropertiesComponent">
3.在这里面加上<property name="dynamic.classpath" value="true" />这条信息

边栏推荐
- GOM引擎版本为什么玩家会自动掉线或闪退?
- 云解决方案,为什么选择 AMD EPYC?
- 网易白帽子黑客训练营笔记(2)
- Space shooting part 1: player spirit and control
- vs2019:constexpr 函数“qCountLeadingZeroBits”不能生成常量表达式
- Beifu PLC and C # regularly refresh IO through ads communication
- Notes du jour 7
- China leads the United States in another emerging technology field and stands at the commanding height of scientific and technological innovation
- 知识图谱:基本概念
- 动态规划每日一练(1)
猜你喜欢
![[jzof] 08 next node of binary tree](/img/4b/d8821e6e322b33e5abf26d48125e69.png)
[jzof] 08 next node of binary tree

JVM detailed parsing

了解canvas

Introduction to radar part vii 2 imaging method

【 Visual Dispatching Software】 Shanghai Dow Ning apporte netronic download, Trial, tutoriel pour l'Organisation SMB

PHP connecting to SQL Server

基于BIM+3DGIS的智慧城市基础设施管理
![[图形学]ASTC纹理压缩格式](/img/d1/734fe91d56716c610980696a8e0d06.png)
[图形学]ASTC纹理压缩格式

云解决方案,为什么选择 AMD EPYC?

Hardware system architecture of 4D millimeter wave radar
随机推荐
Bit synchronization process of CAN controller
我为大厂怒刷的《100道Android面试题》
High school Chinese teaching material examination outline
[JS advanced] basics of regular expressions - about regular expressions you want to know_ 01
Notes du jour 7
【 Visual Dispatching Software】 Shanghai Dow Ning apporte netronic download, Trial, tutoriel pour l'Organisation SMB
Shell运算符、$((运算式))” 或 “$[运算式]、expr方法、条件判断、test condition、[ condition ]、两个整数之间比较、按照文件权限进行判断、按照文件类型进行判断
Point target simulation of SAR imaging (III) -- Analysis of simulation results
Reference and output message types in ROS
吴恩达机器学习系列篇p31~p42
Method of entering mathematical formula into mark down document
Compilation and preprocessing
PHP framework MVC class code audit
中国在又一个新兴科技领域领先美国,站在科技创新制高点
Typora modify table width
[jzof] 11 minimum number of rotation array
Google面试题原理解析 12个乒乓球其中有1个次品,用天平称重3次找出
Beifu and C transmit real type through ads communication
Jenkins continuous integration error stderr: fatal: unsafe repository ('/home/water/water' is owned by someone else)
keepalived双机热备