第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

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

導入了servlet包沒有用,加了構(gòu)造函數(shù)還是沒用啊?

導入了servlet包沒有用,加了構(gòu)造函數(shù)還是沒用???

四季花海 2023-03-18 18:14:50
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'chargeoffDetailAction' defined in file [D:\apache-tomcat-6.0.26\webapps\CreditService\WEB-INF\classes\applicationContext-action.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.db.credit.loan.inloan.chargeoff.action.ChargeoffDetailAction]: Constructor threw exception; nested exception is java.lang.Error: Unresolved compilation problems: The import javax.servlet.ServletContext cannot be resolvedThe import javax.servlet.http.HttpServletRequest cannot be resolvedThe import javax.servlet.http.HttpServletResponse cannot be resolvedThe import javax.servlet.http.HttpSession cannot be resolvedHttpServletResponse cannot be resolved to a typeThe method getRequest() is undefined for the type BaseAction<T>The method getRequest() is undefined for the type BaseAction<T>The method getRequest() is undefined for the type BaseAction<T>HttpServletRequest cannot be resolved to a typeHttpServletResponse cannot be resolved to a typeHttpSession cannot be resolved to a typeServletContext cannot be resolved to a typeThe method getServletContext() is undefined for the type BaseAction<T>at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:997)at com.db.credit.loan.inloan.chargeoff.action.ChargeoffDetailAction.<init>(ChargeoffDetailAction.java:37)at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)at java.lang.reflect.Constructor.newInstance(Constructor.java:513)at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147)... 30 more
查看完整描述

1 回答

?
慕容708150

TA貢獻1831條經(jīng)驗 獲得超4個贊

你的spring application.xml配置錯誤,或者加載的東西不存在,導致初始化加載失敗

查看完整回答
反對 回復 2023-03-21
  • 1 回答
  • 0 關(guān)注
  • 113 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學習伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號