今天用idea运行某个项目的main方法时竟然报了莫名错误,错误如下
Error running ‘TestA’: Command line is too long. Shorten command line for TestA also for Application default configuration.
网上搜了下解决办法:
修改项目代码根目录下的 .idea\workspace.xml,找到标签PropertiesComponent, 在标签里加一行
<property name="dynamic.classpath" value="true" />
终于解决