关于如何在IDEA中找到$Proxy0.class的class文件,只需要在代理类生成类中增加代码
System.getProperties().put( "sun.misc.ProxyGenerator.saveGeneratedFiles" , "true" );
如果报Exception in thread “main” java.lang.InternalError: I/O exception saving generated file:java.io.FileNotFoundException: com\sun\proxy$Proxy0.class (系统找不到指定的路径。)异常时,则先查看代理类的全路径
System.out.println("$Proxy0.class全名:"+ 代理类.getClass());
最后在项目根目录下增加代理类的全路径目录即可。