一个spring的问题。我在开发一个项目时,出现了下面的异常。请哪位高手帮我解决一下啊,小生在此感激了。
严重:Exceptionsendingcontextinitializedeventtolistenerinstanceofclassorg.springframewor...
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'FindWorkflowIService' defined in file [E:\apache-tomcat-6.0.29\webapps\iom\WEB-INF\classes\modules\iom\manager\spring-conf\serviceContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [cn.ceopen.bss.iom.manager.service.impl.FindWorkflowServiceImpl]: Constructor threw exception; nested exception is java.lang.ClassCastException: sun.reflect.generics.reflectiveObjects.TypeVariableImpl cannot be cast to java.lang.Class
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:883)
Constructor threw exception; nested exception is java.lang.ClassCastException: sun.reflect.generics.reflectiveObjects.TypeVariableImpl cannot be cast to java.lang.Class
我觉得问题好像出在这。但我还是不明白这个提示的含义。 展开
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'FindWorkflowIService' defined in file [E:\apache-tomcat-6.0.29\webapps\iom\WEB-INF\classes\modules\iom\manager\spring-conf\serviceContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [cn.ceopen.bss.iom.manager.service.impl.FindWorkflowServiceImpl]: Constructor threw exception; nested exception is java.lang.ClassCastException: sun.reflect.generics.reflectiveObjects.TypeVariableImpl cannot be cast to java.lang.Class
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:883)
Constructor threw exception; nested exception is java.lang.ClassCastException: sun.reflect.generics.reflectiveObjects.TypeVariableImpl cannot be cast to java.lang.Class
我觉得问题好像出在这。但我还是不明白这个提示的含义。 展开
7个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询