Error running ‘Application‘: command line is too long

idea 运行 TEST 类

解决方案:

Shorten command line 选项,选择:
JAR manifest - …
在这里插入图片描述

不要更改idea/workspace.xml文件,不然运行其他Spring Boot项目会有问题(jar包的类找不到,无法注入spring容器)

猜你喜欢

转载自blog.csdn.net/thebigdipperbdx/article/details/111934634