IDEA中Services欄不顯示的解決方案小結
正常編譯完一個SpringBoot或者SringCloud項目之后,Services都會顯示出你有哪些服務,假如你本地啟動一個SpringCloud項目,啟動有順序要求的時候,但是又不知道自己啟動好了沒,沒有Services欄可以清晰的顯示各個微服務的運行情況。
如果沒有Services欄,請看下面的解決方案
在項目的工作空間下/.idea/workspace.xml文件中搜索 “RunDashBoard” 如果沒有找到的關鍵字就加入以下內容
二選一即可,本人采用的是第一種
第一種
<component name="RunDashboard"> <option name="configurationTypes"> <set> <option value="SpringBootApplicationConfigurationType" /> </set> </option> </component>
第二種
<component name="RunDashboard"> <option name="configurationTypes"> <set> <option value="SpringBootApplicationConfigurationType" /> </set> </option> <option name="ruleStates"> <list> <RuleState> <option name="name" value="ConfigurationTypeDashboardGroupingRule" /> </RuleState> <RuleState> <option name="name" value="StatusDashboardGroupingRule" /> </RuleState> </list> </option> </component>
改完之后重新創(chuàng)建索引加載這個項目即可 如果有搜索到關鍵字,但是還是不顯示的話 也可以考慮重新加載索引試一下
重啟之后可以看到Services組件
到此這篇關于IDEA中Services欄不顯示的解決方案小結的文章就介紹到這了,更多相關IDEA Services欄不顯示內容請搜索腳本之家以前的文章或繼續(xù)瀏覽下面的相關文章希望大家以后多多支持腳本之家!
相關文章
使用spring security明文密碼校驗時報錯-BadCredentialsException:&nbs
小編遇到這樣一個問題在學習spring security時使用明文密碼進行登錄校驗時報錯"org.springframework.security.authentication.BadCredentialsException: Bad credentials,今天給大家分享問題原因及解決方案,感興趣的朋友一起看看吧2023-10-10springboot的EnvironmentPostProcessor接口方法源碼解析
這篇文章主要介紹了springboot的EnvironmentPostProcessor接口方法源碼解析,有需要的朋友可以借鑒參考下,希望能夠有所幫助,祝大家多多進步,早日升職加薪2023-08-08Spring MVC 攔截器 interceptor 用法詳解
這篇文章主要介紹了Spring MVC 攔截器 interceptor 用法,文中通過示例代碼介紹的非常詳細,對大家的學習或者工作具有一定的參考學習價值,需要的朋友們下面隨著小編來一起學習學習吧2020-07-07SpringBoot+log4j2.xml使用application.yml屬性值問題
這篇文章主要介紹了SpringBoot+log4j2.xml使用application.yml屬性值問題,具有很好的參考價值,希望對大家有所幫助,如有錯誤或未考慮完全的地方,望不吝賜教2023-12-12