您的位置:首页 > 编程语言 > Java开发

java.lang.Class cannot be cast to java.lang.reflect.ParameterizedType

2012-12-14 16:58 741 查看
java.lang.Class cannot be cast to java.lang.reflect.ParameterizedType
java.lang.ClassCastException-->java.lang.Class cannot be cast to java.lang.reflect.ParameterizedType

Could not generate CGLIB subclass of class [class com.yesrj.plm2.workflow.action.WorkflowRunPrcsAction]: Common causes of this problem include using a final class or a non-visible class; nested exception is net.sf.cglib.core.CodeGenerationException: java.lang.ClassCastException-->java.lang.Class
cannot be cast to java.lang.reflect.ParameterizedType
Unable to instantiate Action, com.yesrj.plm2.workflow.action.WorkflowRunPrcsAction, defined for 'workflow-run-prcs' in namespace '/workflow'Could not generate CGLIB subclass of class [class com.yesrj.plm2.workflow.action.WorkflowRunPrcsAction]: Common causes
of this problem include using a final class or a non-visible class; nested exception is net.sf.cglib.core.CodeGenerationException: java.lang.ClassCastException-->java.lang.Class cannot be cast to java.lang.reflect.ParameterizedType

@Transactional注解的位置不对,去掉@Transactional
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐