亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

我覺得問題好像出在這。但我還是不明白這個提示的含義。

我覺得問題好像出在這。但我還是不明白這個提示的含義。

慕無忌1623718 2023-02-17 18:14:43
嚴重: 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
查看完整描述

3 回答

?
繁星淼淼

TA貢獻1775條經驗 獲得超11個贊

1.Spring配置文件有錯
2.類包沒有引用(也就是這個"FindWorkflowIService") 
請查看"FindWorkflowIService"在spring的配置文件中,是否配置正確! 
此外如樓上所說"FindWorkflowIService"這個類中有set方法?

查看完整回答
反對 回復 2023-02-20
?
茅侃侃

TA貢獻1842條經驗 獲得超21個贊

在web.xml文件中配制監聽了嗎?
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>

查看完整回答
反對 回復 2023-02-20
?
守著一只汪

TA貢獻1872條經驗 獲得超4個贊

因為聚合函數處理的是數據組,在本例中,MAX函數將整個TEACHER表看成一組

而TNAME、DNAME和TSEX的數據都沒有進行任何分組,因此SELECT語句沒有邏輯意義

MAX()和MIN()函數不僅可以作用于數值型數據,也可以作用于字符串或是日期時間數據類型的數據。


查看完整回答
反對 回復 2023-02-20
  • 3 回答
  • 0 關注
  • 181 瀏覽

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號