嚴(yán)重: 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貢獻(xiàn)1852條經(jīng)驗(yàn) 獲得超1個(gè)贊
在web.xml文件中配制監(jiān)聽了嗎?
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>

慕的地10843
TA貢獻(xiàn)1785條經(jīng)驗(yàn) 獲得超8個(gè)贊
因?yàn)榫酆虾瘮?shù)處理的是數(shù)據(jù)組,在本例中,MAX函數(shù)將整個(gè)TEACHER表看成一組
而TNAME、DNAME和TSEX的數(shù)據(jù)都沒有進(jìn)行任何分組,因此SELECT語句沒有邏輯意義
MAX()和MIN()函數(shù)不僅可以作用于數(shù)值型數(shù)據(jù),也可以作用于字符串或是日期時(shí)間數(shù)據(jù)類型的數(shù)據(jù)。
- 2 回答
- 0 關(guān)注
- 145 瀏覽
添加回答
舉報(bào)
0/150
提交
取消