java.lang.ClassCastException: java.util.HashMap
atcom.nkstar.jtzf.swjt.service.swjtService.getSwjtRkxx(Lorg/marmot/view/DataSet;)V(sw...
at com.nkstar.jtzf.swjt.service.swjtService.getSwjtRkxx(Lorg/marmot/view/DataSet;)V(swjtService.java:137)
at com.nkstar.jtzf.swjt.service.swjtService$$FastClassByCGLIB$$4b60e854.invoke(ILjava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(:???)
at net.sf.cglib.proxy.MethodProxy.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(MethodProxy.java:149)
at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint()Ljava/lang/Object;(Cglib2AopProxy.java:705)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed()Ljava/lang/Object;(ReflectiveMethodInvocation.java:148)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(Lorg/aopalliance/intercept/MethodInvocation;)Ljava/lang/Object;(TransactionInterceptor.java:100)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed()Ljava/lang/Object;(ReflectiveMethodInvocation.java:170)
at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;Lnet/sf/cglib/proxy/MethodProxy;)Ljava/lang/Object;(Cglib2AopProxy.java:643)
at com.nkstar.jtzf.swjt.service.swjtService$$EnhancerByCGLIB$$4356ce8d.getSwjtRkxx(Lorg/marmot/view/DataSet;)V(:???)
at jrockit.reflect.NativeMethodInvoker.invoke0(Ljava/lang/Object;ILjava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Unknown Source) 展开
at com.nkstar.jtzf.swjt.service.swjtService$$FastClassByCGLIB$$4b60e854.invoke(ILjava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(:???)
at net.sf.cglib.proxy.MethodProxy.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(MethodProxy.java:149)
at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint()Ljava/lang/Object;(Cglib2AopProxy.java:705)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed()Ljava/lang/Object;(ReflectiveMethodInvocation.java:148)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(Lorg/aopalliance/intercept/MethodInvocation;)Ljava/lang/Object;(TransactionInterceptor.java:100)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed()Ljava/lang/Object;(ReflectiveMethodInvocation.java:170)
at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;Lnet/sf/cglib/proxy/MethodProxy;)Ljava/lang/Object;(Cglib2AopProxy.java:643)
at com.nkstar.jtzf.swjt.service.swjtService$$EnhancerByCGLIB$$4356ce8d.getSwjtRkxx(Lorg/marmot/view/DataSet;)V(:???)
at jrockit.reflect.NativeMethodInvoker.invoke0(Ljava/lang/Object;ILjava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Unknown Source) 展开
展开全部
你用的是反射吧,用invoke的时候注意你的类型
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
类型转换异常 swjtService.java:137 你要把神马类型转换成Map ?
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
类型转换错误。
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
问题出在 swjtService.java 137行 请仔细检查代码
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询