Question
Recently, I changed the computer and reconfigured the development environment. During unit testing, I found that the idea reported an error
Error running '*******Test.******'
Command line is too ling. Shorten command line for ******* or also for JUnit default configuration.
Solution
Edit the workspace.xml tag under the project. Idea
<component name=“PropertiesComponent”>
Add next
<property name="dynamic.classpath" value="true" />
Read More:
- Idea Startup Error: Command line is too long [How to Solve]
- Idea: error running Name: command line is too long
- Error command line is too long when idea project is started [How to Solve]
- Idea running error running ‘application’: solution to command line is too long
- Solve the problem of error running xxxapplication command line is too long when compiling and running IntelliJ idea
- Command line is too long. Shorten command line for QuestionnaireApplication or also for Spring Boot
- 1. Error running ‘application’ occurs when the command line is too long
- Error running ‘SpringCloudStarter‘: Command line is too long. Shorten comman
- Error running ‘application’: command line is too long. Short command line for application
- Because the computer is stuck, force to restart the computer and open idea idea to report an error on line 1: no content is allowed in the foreword.
- IIS “Bad Request – Request Too Long. HTTP Error 400. The size of the request headers is too long.”
- Bad Request – Request Too Long. HTTP Error 400. The size of the request headers is too long
- Junit4 unit test reports an error invalid project specified
- Maven skip unit test
- Multithreading: when doing unit test, use thread pool to find that the specified code is not running and skip directly
- The usage of Java JUnit unit test and the solution of initialization error
- Solve the problem of springboot and unit test starting applicationrunner
- Spring configuration transaction, JUnit unit test error “failed to load ApplicationContext”
- [Solved] Unit test automatically injects error reporting nullpointer