其他分享
首页 > 其他分享> > Intellij IDEA运行前报错Command line is too long. Shorten command line 解决办法以及一点副作用

Intellij IDEA运行前报错Command line is too long. Shorten command line 解决办法以及一点副作用

作者:互联网

 

网上搜到的解决方法:

修改项目下 .idea\workspace.xml,找到标签

<component name="PropertiesComponent">

在标签里插入一行:

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

 

问题解决,可以正常运行。

 

但由此导致一点点副作用:

swagger 静态文件无法访问 报404。

需实现 WebMvcConfigurer  override addResourceHandlers方法,设置swagger相关静态文件不拦截

标签:Intellij,静态,标签,无法访问,报错,副作用,line,swagger
来源: https://www.cnblogs.com/shixi/p/14506613.html