java.lang.IllegalStateException: Service id not legal hostname
轉載https://blog.csdn.net/luwei42768/article/details/79529281
java.lang.IllegalStateException: Service id not legal hostname
2018年03月12日 16:45:38 盧磊的技術人生 閱讀數:2055
版權宣告:本文為 盧磊的技術人生 原創文章,未經博主允許不得轉載。 https://blog.csdn.net/luwei42768/article/details/79529281
公司專案,兩個微服務呼叫時,丟擲:
java.lang.IllegalStateException: Service id not legal hostname (user_manager)
檢視後發現問題在在application.yml檔案中的
spring:
application:
name: user_manager
不能使用下劃線,name修改成user-manager啟動後解決
相關文章
- java.lang.IllegalStateException: closedJavaException
- location.hostname
- linux 配置hostnameLinux
- ubuntu 18.04 更改 hostnameUbuntu
- URL hostname 屬性
- Ubuntu18.04 修改hostnameUbuntu
- centos7修改hostnameCentOS
- anacond 或python3 報check_hostname requires server_hostname錯誤PythonUIServer
- Postgresql 軟體使用法律公示(Legal Notice)資訊SQL
- host=wwwtl555222com17008768000-HOSTNAME
- Caused by: java.lang.IllegalStateException: getWriter() has already been called for this responseJavaException
- 【Redis】錯誤:failed: Hostname must not be empty or nullRedisAINull
- 新版本linux更新hostname的方法Linux
- linux 修改hosts檔案以及修改hostnameLinux
- Caused by: java.lang.IllegalStateException: Only single-level inheritance supported: XxxxServiceJavaException
- Linux基礎命令—顯示主機名hostnameLinux
- Linux基礎命令---顯示主機名hostnameLinux
- HTTPSConnection.__init__() got an unexpected keyword argument check_hostnameHTTPGo
- linux CentOS6.x 修改主機名(Hostname)LinuxCentOS
- 使用jMeter對基於SAP ID service進行Authentication的Restful API進行併發測試JMeterRESTAPI
- java.lang.IllegalStateException: Cannot call sendError() after the response has been committed解讀JavaExceptionErrorMIT
- hadoop啟動時,報ssh: Could not resolve hostname xxx: NamHadoop
- id
- Service
- ViewPager內使用FragmentPagerAdapter時滑動出現 java.lang.IllegalStateException: The specified child already hViewpagerFragmentAPTJavaException
- Android ServiceAndroid
- 修改安卓ID為硬體唯一ID安卓
- 分散式id分散式
- k8s之Service詳解-Service使用K8S
- 分散式ID系列(3)——資料庫自增ID機制適合做分散式ID嗎分散式資料庫
- Android Intent ServiceAndroidIntent
- systemd service unit
- 深入掌握service
- Service Worker初探
- Android Service SecurityAndroid
- What is a service mesh?
- Service Locator 模式模式
- Service詳解