当前位置:   article > 正文

Intellij IDEA常见问题解决办法_intellij idea 不能发出不生成结果集的语句

intellij idea 不能发出不生成结果集的语句

1:Intellij IDEA运行报Command line is too long解法

报错内容:

Error running 'ServiceStarter': Command line is too long. Shorten command line for ServiceStarter or also for Application default configuration.

 

解法:

修改项目下 .idea\workspace.xml,找到标签 <component name="PropertiesComponent"> , 在标签里加一行  

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

2:Idea开启Run DashBoard配置

找到.idea文件下的workspace.xml,并找到RunDashboard

  1. <component name="RunDashboard">
  2. <option name="ruleStates">
  3. <list>
  4. <RuleState>
  5. <option name="name" value="ConfigurationTypeDashboardGroupingRule" />
  6. </RuleState>
  7. <RuleState>
  8. <option name="name" value="StatusDashboardGroupingRule" />
  9. </RuleState>
  10. </list>
  11. </option>
  12. </component>

 加入如下配置:

  1. <option name="configurationTypes">
  2. <set>
  3. <option value="SpringBootApplicationConfigurationType" />
  4. </set>
  5. </option>

这样RunDashboard自动就弹出来了

最终配置如下:

  1. <component name="RunDashboard">
  2. <option name="configurationTypes">
  3. <set>
  4. <option value="SpringBootApplicationConfigurationType" />
  5. </set>
  6. </option>
  7. <option name="ruleStates">
  8. <list>
  9. <RuleState>
  10. <option name="name" value="ConfigurationTypeDashboardGroupingRule" />
  11. </RuleState>
  12. <RuleState>
  13. <option name="name" value="StatusDashboardGroupingRule" />
  14. </RuleState>
  15. </list>
  16. </option>
  17. </component>

 

3:idea project中的小齿轮显示和隐藏(Autoscroll from Source)

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/木道寻08/article/detail/898630
推荐阅读
相关标签
  

闽ICP备14008679号