当前位置:网站首页>IDEA报错Error running ‘Application‘ Command line is too long解决方案
IDEA报错Error running ‘Application‘ Command line is too long解决方案
2022-07-28 22:21:00 【geejkse_seff】
IDEA报错Error running ‘Application’: Command line is too long.Shorten command line for Application or also for Spring Boot default configuration
Command line is too long.Shorten command line for Application or also for Spring Boot default configuration)
问题背景
IDEA在启动项目时,突然报错
Error running 'Application':
Command line is too long.Shorten command line for Application or also for Spring Boot default configuration.
解决方案
方案一(当前项目设置)
1 当前项目点击运行下拉框的Edit Configurations
2 点击Environment,选择Shorten command line下拉框,选择classpath file或者JAR manifest,点击OK确认
3 main函数也会出现相同的问题,点开Edit编辑
4 点击Modify options,选择Shorten command line
5 更改为classpath file
方案二(全局设置)
1 由于方案一是当前项目设置,其他项目打开又没有了,所以可以设置全局,点击File→New Projects Settings→Run Configuration Templates for New Projects
2 点击springboot项目,其他跟方案一相同
心得
- 出现莫名其妙的错误就很蓝瘦
作为程序员第 37 篇文章,每次写一句歌词记录一下,看看人生有几首歌的时间,wahahaha …


Lyric:考不上的好学校
边栏推荐
- Multisensor fusion positioning (III) -- inertial technology
- Arm-a53 data "recommended collection"
- Summary of wrong questions of software designers
- Leetcode 763. partition labels divide alphabetic intervals (medium)
- Jincang database kingbasees client programming interface guide ODBC (5. Development process)
- 【C】逆序字符串(俩种递归思路)
- 2022-07-28:以下go语言代码输出什么?A:AA;B:AB;C:BA;D:BB。 package main import ( “fmt“ ) func
- Leetcode60. permutation sequence
- 实时数仓:美团点评Flink的实时数仓应用分享
- 研发效能的道法术器
猜你喜欢

Yolov5 learning notes (I) -- principle overview

[TA frost wolf \u may - "hundred people plan"] Figure 3.6 texture compression - inclusion slimming

Connection pool - return connection details (Part 2)

Leetcode64. 最小路径和

SQL implementation merges multiple rows of records into one row

Detailed explanation of 9 common reasons for MySQL index failure

With the help of rpa+lcap, the enterprise treasurer management can be upgraded digitally

Powercli batch add esxi to vCenter
![[MySQL series] MySQL database foundation](/img/50/cc75b2cdf6e52714c1d492fa1ae2c4.png)
[MySQL series] MySQL database foundation

SQL实现将多行记录合并成一行
随机推荐
SQL实现将多行记录合并成一行
The failure rate is as high as 80%. How to correctly complete the strategic planning of digital transformation?
【C】替换空格,宏实现整数的二进制奇偶位交换
@Detailed explanation of the use of transactional annotation
GhostNets on Heterogeneous Devices via Cheap Operations
JS高级 之 ES6~ES13 新特性
1-8 basic use of props
双重for循环优化
SQL left connection, internal connection writing method "recommended collection"
【C】 Introduction and Simulation Implementation of ATOI and offsetof
After SAP Oracle replicates a new instance, the remote connection of the database reports an error ora-01031
leetcode 763. Partition Labels 划分字母区间(中等)
@Transactional 注解使用详解
Application of Devops in Internet of things solutions
Leetcode62. Different paths
连接池-归还连接详解(下)
【C】atoi和offsetof的介绍和模拟实现
Tyrosine decarboxylase -- characteristics of tyrosine decarboxylase of Streptococcus faecalis in Worthington
Servlet运行原理_API详解_请求响应构造进阶之路(Servlet_2)
Best practices for migration of kingbasees v8.3 to v8.6 of Jincang database (2. Compatibility of kingbasees v8.3 and v8.6)