Idea 报错 xxxx too long

问题:写单元测试,debug时,报错如下图

 

 

 

解决方法1:


在项目/.idea/workspace.xml文件中添加一行代码如下

<component name="PropertiesComponent">
...
 <property name="dynamic.classpath" value="true" />
</component>

解决方法2:

 

posted @ 2019-04-08 14:47  darling331  阅读(259)  评论(0编辑  收藏  举报