Code Monkey home page Code Monkey logo

spring-cloud-book's Issues

在跟我学Spring Cloud(Finchley版)-11-Feign常见问题总结 遇到的问题

  1. 根据整合Hystrix的监控的示例中(Hystrix Stream监控信息),添加了相关的依赖,注解及配置文件。但是我在启动这个服务的时候却报出 java.lang.ClassNotFoundException: com.netflix.hystrix.contrib.javanica.aop.aspectj.HystrixCommandAspect 这个异常。

  2. 我测试的结果是@EnableCircuitBreaker 这个注解导致的问题。但是我不知道该如何解决或者是我少添加某个依赖?

  • 细节

我有两个微服务 一个是movie 一个是user ,我正在通过movie的服务调用user 使用feignClient .
http://www.itmuch.com/spring-cloud/finchley-11/

mac下build提示 I/O exception (java.io.IOException) caught when processing request to {}->unix://localhost:80: No such file or directory

九月 07, 2016 2:44:28 下午 org.apache.http.impl.execchain.RetryExec execute
信息: I/O exception (java.io.IOException) caught when processing request to {}->unix://localhost:80: No such file or directory
九月 07, 2016 2:44:28 下午 org.apache.http.impl.execchain.RetryExec execute
信息: Retrying request to {}->unix://localhost:80
九月 07, 2016 2:44:28 下午 org.apache.http.impl.execchain.RetryExec execute
信息: I/O exception (java.io.IOException) caught when processing request to {}->unix://localhost:80: No such file or directory
九月 07, 2016 2:44:28 下午 org.apache.http.impl.execchain.RetryExec execute
信息: Retrying request to {}->unix://localhost:80
九月 07, 2016 2:44:28 下午 org.apache.http.impl.execchain.RetryExec execute
信息: I/O exception (java.io.IOException) caught when processing request to {}->unix://localhost:80: No such file or directory
九月 07, 2016 2:44:28 下午 org.apache.http.impl.execchain.RetryExec execute
信息: Retrying request to {}->unix://localhost:80
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.686 s
[INFO] Finished at: 2016-09-07T14:44:28+08:00
[INFO] Final Memory: 47M/487M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.spotify:docker-maven-plugin:0.4.12:build (default-cli) on project microservice-discovery-eureka: Exception caught: java.util.concurrent.ExecutionException: com.spotify.docker.client.shaded.javax.ws.rs.ProcessingException: java.io.IOException: No such file or directory -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.