ideal项目启动及问题


Error running 'xxx项目' Command line is too long(idea版)

错误】 Error running ‘xxx项目’: Command line is too long. Shorten command line for xxx or also for Spring Boot default configuration.

根据错误信息可知,指令太过长,根据提示缩短指令即可。

在IDEA中找到 Run-> Edit Configurations打开:

 

在 Environment-> Shorten command line 的内容配置为 JAR即可解决:

 

 

启动参数如下:

--spring.config.location=res/ --spring.profiles.active=dev

 

 

 

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM