嚴重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListenerorg.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.Classat 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
2 回答

小怪獸愛吃肉
TA貢獻1852條經驗 獲得超1個贊
在web.xml文件中配制監聽了嗎?
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>

慕的地10843
TA貢獻1785條經驗 獲得超8個贊
因為聚合函數處理的是數據組,在本例中,MAX函數將整個TEACHER表看成一組
而TNAME、DNAME和TSEX的數據都沒有進行任何分組,因此SELECT語句沒有邏輯意義
MAX()和MIN()函數不僅可以作用于數值型數據,也可以作用于字符串或是日期時間數據類型的數據。
- 2 回答
- 0 關注
- 139 瀏覽
添加回答
舉報
0/150
提交
取消