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
添加回答
举报
0/150
提交
取消