idea运行SpringBoot项目报错-1

idea运行报错Error running 'Application': Command line is too long的解决方法:

idea启动项目直接报错,Command line is too long,有以下两种方式解决:

  1. 点击项目启动配置项 -> shorten command line 选项选择 classpath file 或 JAR manifest 选项 -> 重新启动工程运行即可


    image.png
  2. 修改项目工程里面的.idea/workspace.xml文件,找到里面标签,然后再在标签中添加一行 ,重新启动项目即可


    
    
    
    
    
    
    
    
    

    
   
   

你可能感兴趣的:(idea运行SpringBoot项目报错-1)