完整报错信息:Error running 'ArticleFreemarkerTest.test': Command line is too long. Shorten command line for ArticleFreemarkerTest.test or also for JUnit default configuration.
翻译为运行“ArticleFreemarkerTest.test”时出错,命令行太长。缩短 ArticleFreemarkerTest.test 或 JUnit 默认配置的命令行。
解决方案:
在.idea/workspace.xml文件中找到此处,添加一行代码
<property name="dynamic.classpath" value="true" />