启动时报“命令行过长”需要缩短命令行
错误提示:
命令行过长。要为 RunshiCoreApplication 或也为 Spring Boot default 配置 缩短命令行吗
或
Error running 'Application': Command line is too long. Shorten command line for Application or also for Spring Boot default configuration.
解决办法:IDEA命令行缩短器
1.找到main函数 public static void main(String[] args),里面得启动项
2.IEDA菜单栏目,启动项名称上有个,编辑配置
3.配置tabs下的,缩短命令行:选择 jar清单 或者 类路径文件
择善人而交,择善书而读,择善言而听,择善行而从。