Giter Club home page Giter Club logo

Comments (3)

xilou31 avatar xilou31 commented on August 25, 2024

能提供上下文吗..比如项目中用到RouteRequestImpl.getCIMServer()的代码。

from cim.

bdw9005 avatar bdw9005 commented on August 25, 2024

因为ProxyManager中使用JDK动态代理,其invoke方法中是通过反射方法对Model进行的取值处理,故调用的接口方法入参可以改成model就不会出现这种错误了。。。

from cim.

bdw9005 avatar bdw9005 commented on August 25, 2024
  1. RouteRequestImpl.getCIMServer()
  2. RouteApi routeApi = new ProxyManager<>(RouteApi.class, routeUrl, okHttpClient).getInstance();
  3. 动态代理调用接口时抛出一下异常

【异常】Method threw 'java.lang.reflect.UndeclaredThrowableException' exception. Cannot evaluate com.sun.proxy.$Proxy66.toString()

【求问】这种情况要如何解决啊。

同上面的回答,可以尝试一下

from cim.

Related Issues (20)

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.