首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >idea报错:Error running $classname: Command line is too long. Shorten command line for $classname.

idea报错:Error running $classname: Command line is too long. Shorten command line for $classname.

作者头像
ydymz
发布2018-09-10 17:27:22
5.4K1
发布2018-09-10 17:27:22
举报
文章被收录于专栏:lgp20151222lgp20151222

Command line is too long

打印的变量太长了,超过了限制,这都会报错...我只想知道idea基于什么原理会报这个错...

解决

1.按照提示修改该类的配置,选择jar manifest

2.在项目的.idea/workspace.xml文件中,找到 <component name="PropertiesComponent">,添加一行<property name="dynamic.classpath" value="true" />

本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
原始发表:2018-08-24 ,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • 解决
    • 1.按照提示修改该类的配置,选择jar manifest
      • 2.在项目的.idea/workspace.xml文件中,找到 <component name="PropertiesComponent">,添加一行<property name="dynamic.classpath" value="true" />
      领券
      问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档