巧了,最近起了一个挺长的类名,启动main函数的时候,idea返回了一个Command line is too long Shorten command line的报错,请教研究之后,解决方法如下

方法一

  • 找到 .idea 下面的 workspace.xml
  • 找到标签
 <component name="PropertiesComponent">
  • 在标签中新增一栏
 <property name="dynamic.classpath" value="true" />

方法二

  • 在程序的运行配置中,把Shorten command line改为JAR manifest或classpath file

图片来自 Intellij IDEA运行报Command line is too long Shorten command line for XXX or also的解决办法

IDEA启动main函数时,Command line is too long Shorten command line for XXX or also问题解决相关推荐

  1. 若依启动项目报Command line is too long. Shorten command line for……

    Error running 'RuoYiApplication': Command line is too long. Shorten command line for RuoYiApplicatio ...

  2. 【idea】Command line is too long. Shorten command line for XXXApplication

    Command line is too long. Shorten command line for XXXApplication or also for Spring Boot default- 问 ...

  3. Command line is too long. Shorten command line for XXXApplication or also for Spring Boot

    问题: 启动一个新项目的主函数入口类(启动类)时无法启动,提示如下: Command line is too long. Shorten command line for SystemApplicat ...

  4. Idea报错:Command line is too long. Shorten command line for className

    问题描述 使用Idea运行项目在项目启动时报错: Command line is too long. Shorten command line for XXXApplication or also f ...

  5. Command line is too long. Shorten command line for

    问题 今天在idea中运行一个hbase jdbc项目时无法启动,提示如下: Command line is too long. Shorten command line for SystemAppl ...

  6. command line is too long. shorten command line for xxx的解决方法

    command line is too long. shorten command line for xxx的解决方法 问题: IDEA启动时报: command line is too longxx ...

  7. Command line is too long. Shorten command line for Application---微服务升级_SpringCloud Alibaba工作笔记0067

    今天打开idea项目,启动的时候,无法启动报错: 15:19    Error running 'Application': Command line is too long. Shorten com ...

  8. Command line is too long. Shorten command line for Doc.generateAsciiDocs or

    Intellij IDEA启动项目报Command line is too long. Shorten command line for XXXApplication or also for 解决方法 ...

  9. Error running Command line is too long. Shorten command line for

    Error running 'xxxxxxxxApplication': Command line is too long. Shorten command line for xxxxxxx? 使用网 ...

最新文章

  1. ios之UIImageView
  2. Spring-MVC入门(一):入门实例
  3. docker和java容器_使用Docker容器和Java EE进行持续交付
  4. 超全机器学习工程师成长路线图,GitHub已收获6400+Star!
  5. 多线程中线程参数的传递,不要使用局部变量
  6. 内含福利 | 我们“偷”来了一座航站楼。9.21, HAY!18等你来候机!
  7. # 20155224 实验四 Android程序设计
  8. postgresql索引
  9. Android 实现应用升级方案(暨第三方自动升级服务无法使用后的解决方案)
  10. --allow-file-access-from-files 命令的使用
  11. Linux忘记密码了怎么修改密码(保姆级教程)
  12. (4)华为ensp--RIP基本配置
  13. 六篇经典分割算法汇总
  14. excel 嵌套html,excel 多层if嵌套怎么优化
  15. asp mysql rs.recordcount_asp 中rs.fields.count,rs.recordcount代表什么意思
  16. 谷歌十大高薪职位:首席软件工程师居首
  17. Solr Facet 统计查询
  18. 钥匙串密码忘记了怎么办?如何在Mac上重置钥匙串密码
  19. 如何创建一个javaWeb项目
  20. 2011年养成的一个工作习惯

热门文章

  1. Python数据分析与展示:Series类型简单操作-8
  2. 阿尔法狗:人工智能的里程碑
  3. 浅谈数据结构-最短路径
  4. 浅谈数据结构-关键路径
  5. python中“end=”
  6. 李白打酒 话说大诗人李白,一生好饮。幸好他从不开车。
  7. 2018.7.17 绍兴一中模拟赛 解题报告
  8. Unity第一人称手游-左侧控制移动,右侧控制视角和方向(第一人称,类似吃鸡游戏)
  9. 无线组网方式比较-WIFI、Mesh、Zigbee
  10. 编程求圆的面积和周长(c语言)