创建新的jhipster项目后,无法启动该应用程序

时间:2017-04-10 11:04:45

标签: jhipster

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:无法在任何已知服务器上执行请求             at com.netflix.discovery.shared.transport.decorator.RetryableEurekaHttpClient.execute(RetryableEurekaHttpClient.java:111)             在com.netflix.discovery.shared.transport.decorator.EurekaHttpClientDecorator.register(EurekaHttpClientDecorator.java:56)             在com.netflix.discovery.shared.transport.decorator.EurekaHttpClientDecorator $ 1.execute(EurekaHttpClientDecorator.java:59)             at com.netflix.discovery.shared.transport.decorator.SessionedEurekaHttpClient.execute(SessionedEurekaHttpClient.java:77)             在com.netflix.discovery.shared.transport.decorator.EurekaHttpClientDecorator.register(EurekaHttpClientDecorator.java:56)             在com.netflix.discovery.DiscoveryClient.register(DiscoveryClient.java:815)             在com.netflix.discovery.InstanceInfoReplicator.run(InstanceInfoReplicator.java:104)             at java.util.concurrent.Executors $ RunnableAdapter.call(Executors.java:511)             at java.util.concurrent.FutureTask.run(FutureTask.java:266)             at java.util.concurrent.ScheduledThreadPoolExecutor $ ScheduledFutureTask.access $ 201(ScheduledThreadPoolExecutor.java:180)             at java.util.concurrent.ScheduledThreadPoolExecutor $ ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)             在java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)             at java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:617)             在java.lang.Thread.run(Thread.java:745)

1 个答案:

答案 0 :(得分:1)

您的问题不够详细,但很明显您使用的是微服务架构并且没有启动注册表,请检查documentation