![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
异常
顿悟中的白菜
不喜欢说话都在心里
展开
-
com.sun.proxy.$Proxy0 cannot be cast to com.xue.producers.Producer
IProducer iProducer = **(Producer)**Proxy.newProxyInstance(p.getClass().getClassLoader(), p.getClass().getInterfaces(), new InvocationHandler() { } 这里写错。改为(IProducer)原创 2020-04-13 15:57:55 · 152 阅读 · 0 评论 -
String类型转换成int类型报错
在这里插入代码片 Exception in thread "main" java.lang.NumberFormatException: For input string: "20171051103" at java.lang.NumberFormatException.forInputString(Unknown Source) at java.lang.Integer.parseInt(...原创 2019-12-27 19:17:44 · 1309 阅读 · 0 评论