IDEA spring boot 启动失败问题解决 Command line is too long
报错信息:
Error running 'SpringBootJunit.bondLedgerColumnCorrespond': Command line is too long. Shorten command line for SpringBootJunit.bondLedgerColumnCorrespond or also for JUnit default configuration
解决方法:
- 在该项目文件夹.idea/workspace.xml中找到
<component name="PropertiesComponent">
</component>
- 然后在其中添加:
<property name="dynamic.classpath" value="true" />
现在启动就不会报错了。
下面这篇有讲述前因后果,更加详细。
IDEA-解决Command line is too long. Shorten command line for SpringBootMainApplication or also for App
版权声明:本文为wwq997原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。