问答详情
源自:2-4 接口式编程原理(下)

代码报错了

T) Proxy.newProxyInstance(type.getClassLoader(), new Class[]{type}, new MapperProxy());这句话怎么报错了?java.lang.Error: Unresolved compilation problems: The method newProxyInstance(Class, InvocationHandler) in the type Proxy is not applicable for the arguments (ClassLoader, Class[])

提问者:610666618 2016-04-04 14:47

个回答

  • Truejasonxiefans
    2016-04-05 00:10:51

    先clean以下,再build下,再看下是否导入错了类,以及参数类型是否match