解决IDEA,Command line is too long的问题

╰+攻爆jí腚メ 2023-10-07 18:25 138阅读 0赞

1、解决的办法一,但是会存在其他问题
在这里插入图片描述
报出新的问题

  1. Binding to target org.springframework.boot.context.properties.bind.BindException: Failed to bind properties under 'jdbc' to com.iwhalecloud.bss.litchi.database.config.JdbcProperties failed:

在这里插入图片描述
也有可能会有这种问题:提示注入错误

  1. Invalid bean definition with name 'com.iwhalecloud.bassc.rhin.client.IEngineApiRemoteClient' defined in null: Could not resolve placeholder 'lingxi.apiUrl' in value "http://${lingxi.apiUrl}"; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'lingxi.apiUrl' in value "http://${lingxi.apiUrl}"

在这里插入图片描述
2、继续解决
在这里插入图片描述
在workspace.xml文件中加入下面这句,位置在图片上

  1. <property name="ExpandSpringBootJavaOptionsPanel" value="true" />

在这里插入图片描述
参考文档:

  • idea 启动项目错误解决:错误信息Command line is too long.

发表评论

表情:
评论列表 (有 0 条评论,138人围观)

还没有评论,来说两句吧...

相关阅读