问题截图 启动项时idea报错; 解决方法 点击编辑器顶部的Edit Configuration -> Environment -> Shorten command line,然后将下拉框选项改为"classpath file",点击apply保存。重启项目即可。