fbtdjs
发贴: 11
|
于 2005-10-18 10:30
我在RAD中写的jsf,编译的时候经常出现 不能实例化类“pagecode.datasource.DataSourceRetrieve” 的错误,郁闷,请高手指教这一般会是什么原因,跟encoding有关吗? 后台错误: com.sun.faces.application.ApplicationImpl 不能实例化类“pagecode.datasource.DataSourceRetrieve”。 [05-10-18 10:09:05:750 CST] 6a2301 ApplicationIm E com.sun.faces.application.ApplicationImpl TRAS0014I: 下列异常已记录 javax.faces.FacesException: 不能实例化类“pagecode.datasource.DataSourceRetrieve”。 at com.sun.faces.config.ManagedBeanFactory.newInstance(ManagedBeanFactory.java:140) at com.sun.faces.application.ApplicationImpl.createAndMaybeStoreManagedBeans(ApplicationImpl.java:863) at com.sun.faces.el.VariableResolverImpl.resolveVariable(VariableResolverImpl.java:79) at com.ibm.faces.databind.SelectItemsVarResolver.resolveVariable(SelectItemsVarResolver.java:40) at com.sun.faces.el.impl.NamedValue.evaluate(NamedValue.java:125) at com.sun.faces.el.impl.ComplexValue.evaluate(ComplexValue.java:146) at com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:238) at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:155) at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:136) at javax.faces.component.UIData.getValue(UIData.java:560) at javax.faces.component.UIData.getDataModel(UIData.java:886) at javax.faces.component.UIData.setRowIndex(UIData.java:412) at com.ibm.faces.renderkit.html_extended.DataTableExRenderer.encodeBegin(DataTableExRenderer.java:110) at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:675) at javax.faces.component.UIData.encodeBegin(UIData.java:719) at javax.faces.webapp.UIComponentTag.encodeBegin(UIComponentTag.java:572) at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:524) at com.sun.faces.taglib.html_basic.DataTableTag.doEndTag(DataTableTag.java:485) at org.apache.jsp._dataSourceRetrieve._jspService(_dataSourceRetrieve.java:450) at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java:89) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:344) at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java:683) at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java:781) ……
|