- Error running 'api': Command lin
- idea启动报错:Command line is too lon
- idea Error running EscpFormAppl
- Intellij IDEA运行报Command line is
- Intellij IDEA运行报Command line is
- Intellij IDEA运行报Command line is
- idea运行SpringBoot项目报错-1
- Intellij IDEA运行报错"Command line i
- IntelliJ IDEA 运行项目的时候提示 Command
- Intellij IDEA运行报Command line is
在启动一个SpirngBoot项目时发生了一个错误:
Error running 'api': Command line is too long. Shorten command line for api or also for Spring Boot default configuration.
命令行过长,打开 /.idea/workspace.xml 文件, Ctrl+F ,搜索 PropertiesComponent ,在
<component name="PropertiesComponent">
</component>
这个结构里面增加:<property name="dynamic.classpath" value="true" />这一行,如下图所示

这个属性因该是为整个项目配置自动缩短命令行的,修改完再次启动,问题解决。
网友评论