Java开发网 Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» Java开发网 » Servlet/JSP/JSF/JavaFX Script  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
reply to postflat modethreaded modego to previous topicgo to next topicgo to back
作者 求助:JSF中“不能实例化类”一般是什么问题啊?
fbtdjs





发贴: 11
于 2005-10-18 10:30 user profilesend a private message to usersend email to fbtdjsreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
我在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)
……




话题树型展开
人气 标题 作者 字数 发贴时间
2198 求助:JSF中“不能实例化类”一般是什么问题啊? fbtdjs 2330 2005-10-18 10:30
1660 Re:求助:JSF中“不能实例化类”一般是什么问题啊? YuLimin 48 2005-10-19 09:17
1681 Re:求助:JSF中“不能实例化类”一般是什么问题啊? bluepure 128 2005-10-19 14:50
1842 谢谢版主,问题解决了 fbtdjs 209 2005-10-20 09:02

reply to postflat modethreaded modego to previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923