The following error is reported when the test case is started:
Command line is too long. Shorten command line for XXXXXXTest. or also for JUnit default configuration?
Error running ‘XXXXXXXXXX.rmLogRecordOverDue’:
![]()
Error:Command line is too long
Solution 1:
Modify workspace.xml
file, add the following in <component name="PropertiesComponent">
:
<property name="dynamic.classpath" value="true" />
It is also possible that the configuration file cannot be modified and will be automatically deleted after modification, so you can see solution 2
Solution 2:
Modify the startup scheme of local test cases as jar
select
finally select jar mainfest
to start
Read More:
- Project Startup Error: Error running ‘xxxApplication‘;Command line is too long, Shoerten command line for……..
- [Solved] IDEA Error: Error running ‘Application‘: Command line is too long
- [Solved] Error running ‘ServiceStarter’: Command line is too long. Shorten command line for ServiceStarter or also for Application default configuration
- [Solved] IDEA Start Project Error: Error running ‘xxxxxx‘: Command line is too long. Shorten command line for …..
- IDEA Error: Command line is too long [How to Solve]
- [Solved] Nacos Startup Error: Error creating bean with name ‘authFilter‘
- Error running ‘Application‘: Command line is too long [How to Solve]
- Java Running Error: Could not find or load main class
- Nacos boot error, unable to find Java_HOME [How to Solve]
- [Solved] Mac Maven Command Error: zsh: command not found
- How to Solve nacos Startup Error and Connect to MYSQL
- IDEA pom.xml dependency version error [How to Solve]
- [Solved] IDEA Import springboot Project Error: Cannot resolve plugin org.springframework.boot:spring-boot-maven-plugin:<unknown>
- [Solved] Mybatis-Plus Error: Invalid bound statement (not found)
- [Solved] Caused by: com.mysql.cj.exceptions.InvalidConnectionAttributeException
- [Solved] Springboot loads static page Error: whitelabel error page
- Error: DL failure on line 893 [How to Solve]
- [Solved] Redis Client On Error: Error: write ECONNABORTED Config right
- Generate configDataContextRefres Error: Error creating bean with name ‘configDataContextRefresher‘
- keytool error: java.lang.Exception: Input not an X.509 certificate