1. 项目启动报错(Command line is too long…)
具体报错信息如下:
Error running 'com.test.App':
Command line is too long. Shorten command line for com.test.App or also for Spring Boot default configuration.
解决方法是编辑 .idea 目录下 workspace.xml
文件,在 name=“PropertiesComponent” 标签中加入下面这行配置,并重启项目。
<property name="dynamic.classpath" value="true" />
2. 加快 Gradle 项目编译和启动速度
按照下图设置即可