2017-04-10 80 views
0
After creating a jhipster project, tried with the following command. 

**mvnw 

    I am getting the following error. For existing project also, i am facing the same issue. 

錯誤後: com.netflix.discovery.shared.transport.TransportException:在com.netflix.discovery.shared任何已知的服務器 上無法執行請求。 transport.decorator.RetryableEurekaHttpClient.execute(RetryableEurekaHttpClient.java:111) at com.netflix.discovery.shared.transport.decorator.EurekaHttpClientDecorator.register(EurekaHttpClientDecorator.java:56) at com.netflix.discovery.shared.transport。 decorator.EurekaHttpClientDecorator $ 1.execute(EurekaHttpClientDecorator.java:59) at com.netflix.discovery.shared.transport.decorator.SessionedEurekaHttpClient.execute(Sessioned (EurekaHttpClientDecorator.java:56) at com.netflix.discovery.DiscoveryClient.register(DiscoveryClient.java:815) at (java.util.concurrent.FutureTask.run(FutureTask。))上的$ RunnableAdapter.call(Executors.java:511) (java.util.concurrent.FutureTask.run(FutureTask。的java:266) 在java.util.concurrent.ScheduledThreadPoolExecutor中$ $ ScheduledFutureTask.access 201(ScheduledThreadPoolExecutor.java:180) 在java.util.concurrent.ScheduledThreadPoolExecutor中$ ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) 在java.util中.concurrent.ThreadPoolExecuto r.runWorker(ThreadPoolExecutor.java:1142) 在java.util.concurrent.ThreadPoolExecutor中的$ Worker.run(ThreadPoolExecutor.java:617) 在java.lang.Thread.run(Thread.java:745)創建一個新的jhipster項目,無法啓動應用程序

回答

1

您的問題不夠詳細,但顯然您使用的是微服務架構,並未啓動註冊表,請檢查documentation

+0

是的,它是一個微服務網關項目。我開始註冊表,然後只嘗試啓動應用程序。昨天它沒有工作。但今天它自動解決 –

相關問題