用jsf做例子,可是遇到没法找不到原因得问题~!大家帮着解决一下。急~~~

06-09-18 kekele

本来是可以通过得。后来可能改了颠东西。但后来都改回来了。可是还是相同得问题。

下边是报得 异常:

javax.servlet.ServletException: Base is null: tab_channel_check_configMidControl

javax.faces.webapp.FacesServlet.service(FacesServlet.java:202)

org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122)

root cause

javax.faces.el.PropertyNotFoundException: Base is null: tab_channel_check_configMidControl

org.apache.myfaces.el.ValueBindingImpl.resolveToBaseAndProperty(ValueBindingImpl.java:455)

org.apache.myfaces.el.ValueBindingImpl.getType(ValueBindingImpl.java:169)

com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getConvertedValue(HtmlBasicInputRenderer.java:111)

javax.faces.component.UIInput.getConvertedValue(UIInput.java:702)

javax.faces.component.UIInput.validate(UIInput.java:627)

javax.faces.component.UIInput.executeValidate(UIInput.java:838)

javax.faces.component.UIInput.processValidators(UIInput.java:412)

javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:904)

javax.faces.component.UIForm.processValidators(UIForm.java:170)

javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:904)

javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:342)

org.apache.myfaces.lifecycle.LifecycleImpl.processValidations(LifecycleImpl.java:240)

org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:76)

javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)

org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122)

搜了好多国外得论坛,也有类似的问题,可是都没有一个有效得解决方法。

同事做了一个可以用得程序,可是原封不动得配置到我这时,出现了相同得错误~!

很郁闷压~!难道是系统环境得问题~!

banq
2006-09-22 09:29

>com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer

这是SUN的包,问SUN去,我只能对真正开源的东西如Apache产品进行解释。