Error running CommonApplication. Command line is too long. Shorten the command line via JAR manifest or via a classpath file and rerun.
时间: 2023-10-26 11:49:41 浏览: 254
解决Intellij IDEA运行报Command line is too long的问题
This error message is indicating that the command line used to run the CommonApplication is too long. This can occur when there are too many arguments or too much data being passed to the application.
To resolve this issue, you can try one of the following:
1. Shorten the command line via JAR manifest: You can specify the main class and classpath in the JAR manifest instead of passing them as command line parameters. This will help to reduce the length of the command line.
2. Shorten the command line via a classpath file: Create a text file that contains the classpath for your application and pass the file as an argument to the java command. This will help to reduce the length of the command line.
Once you have shortened the command line, rerun the application and it should run without any errors.
阅读全文