错误描述:按照《单体升级为微服务方案2.4+》文档,启动jeecg-system服务时报错:
Error running 'JeecgSystemCloudApplication': Command line is too long. Shorten command line for JeecgSystemCloudApplication or also for Spring Boot default configuration?
错误原因:命令行太长,导致启动失败。
解决办法:在项目的后端目录下面,找到\.idea\workspace.xml文件并打开,如下所示:
找到<component name="PropertiesComponent">组件,加入<property name="dynamic.classpath" value="true" />属性,如下所示:
重启服务就可以了。