JSF报错:javax.servlet.ServletException

问题描述

开始用的是GLASSFISH,后来用TOMCAT,信息如下:exceptionjavax.servlet.ServletException:Errorperformingconversionofvalue'oftypeclassjava.lang.Stringtotypeclasscom.numberquiz.ProblemBeanformanagedbeanquiz.javax.faces.webapp.FacesServlet.service(FacesServlet.java:249)rootcausejavax.faces.FacesException:Errorperformingconversionofvalue'oftypeclassjava.lang.Stringtotypeclasscom.numberquiz.ProblemBeanformanagedbeanquiz.com.sun.faces.config.ManagedBeanFactoryImpl.getConvertedValueConsideringPrimitives(ManagedBeanFactoryImpl.java:971)com.sun.faces.config.ManagedBeanFactoryImpl.setPropertiesIntoBean(ManagedBeanFactoryImpl.java:644)com.sun.faces.config.ManagedBeanFactoryImpl.newInstance(ManagedBeanFactoryImpl.java:317)com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:532)com.sun.faces.el.ManagedBeanELResolver.getValue(ManagedBeanELResolver.java:82)javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53)com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64)org.apache.el.parser.AstIdentifier.getValue(AstIdentifier.java:61)org.apache.el.parser.AstValue.getValue(AstValue.java:107)org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)org.apache.jasper.el.JspValueExpression.getValue(JspValueExpression.java:101)javax.faces.component.UIParameter.getValue(UIParameter.java:156)com.sun.faces.renderkit.html_basic.OutputMessageRenderer.encodeEnd(OutputMessageRenderer.java:137)javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:833)javax.faces.component.UIComponent.encodeAll(UIComponent.java:896)javax.faces.render.Renderer.encodeChildren(Renderer.java:137)javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:809)javax.faces.component.UIComponent.encodeAll(UIComponent.java:886)javax.faces.component.UIComponent.encodeAll(UIComponent.java:892)com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:244)com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:174)com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)com.numberquiz.ProblemBean中没有’com.numberquiz.QuizBean中也没有’网上查了,信息很少。。。不知道有谁遇到过的,麻烦说下,谢谢

解决方案

解决方案二:
该回复于2009-07-17 22:42:09被版主删除

时间: 2024-10-23 13:43:49

JSF报错:javax.servlet.ServletException的相关文章

500错误-HTTP Status500 javax.servlet.ServletException: java.lang.Error

问题描述 HTTP Status500 javax.servlet.ServletException: java.lang.Error type Exception report message javax.servlet.ServletException: java.lang.Error: 无法解析的编译问题: description The server encountered an internal error that prevented it from fulfilling this

javax.servlet.ServletException: Original response not availabl异常:javax.servlet.ServletException: Original response not available

问题描述 在weblogic下部署的应用,在未改动程序的情况下,突然就开始一直报javax.servlet.ServletException:Originalresponsenotavailable异常.<Feb18,20089:21:18AMCST><Error><HTTP><BEA-101018><[ServletContext(id=32787110,name=bbs,context-path=/bbs)]ServletfailedwithSer

web java-tomcat 启动报错 StandardWrapper. Servlet /Structs2 threw load() exception

问题描述 tomcat 启动报错 StandardWrapper. Servlet /Structs2 threw load() exception 严重: StandardWrapper.Throwable com.sun.jersey.api.container.ContainerException: The ResourceConfig instance does not contain any root resource classes. at com.sun.jersey.server

抛出的异常:javax.servlet.ServletException: Report Tag:GenerateAndShow:错误!

问题描述 今天安装websphere6.0和普元EOS5.3系统上的增删改查和工作流都是好的,但使用的普元报表开发的界面菜单点击页面上会报500错误.后天报如下错误.[2/27/1511:28:07:610CST]0000003eSystemOutO2015-02-2711:28:07:610[REPORTSERVER]ReportServerstarting...[2/27/1511:28:07:612CST]0000003eServletWrappeESRVE0068E:未捕获到servle

求问怎么解决?javax.servlet.ServletException

问题描述 求问怎么解决?javax.servlet.ServletException javax.servlet.ServletException: Could not resolve view with name 'employeeLog/emWorkLogDisplay' in servlet with name 'employeeLogManagement' org.springframework.web.servlet.DispatcherServlet.render(Dispatche

httpclient请求报错javax.net.ssl.SSLException

问题描述 httpclient请求报错javax.net.ssl.SSLException 有没有大神知道如何解决 javax.net.ssl.SSLException: Received fatal alert: protocol_version 解决方案 http://blog.csdn.net/lihenair/article/details/17441169 看下是一个原因不?> 解决方案二: 你的ssl版本是不是不能被服务器接受,安全问题等 解决方案三: 看着像是SSL安全问题呀

javax.servlet.ServletException: Request[/usergetinfo] does not contain handler parameter named &amp;#39;para

错误介绍:1:找不到配置的(DispatchAction)方法参数,或者其他参数.  eg:parameter="method":                    2:过滤器中" chain.doFilter(request,response);"传递不了下一个过滤器中或者,进入请求中. 异常详细信息: 2015-01-16 17:18:02,424 ERROR org.apache.struts.actions.DispatchAction Request[

tomcat-SERVLET出错javax.servlet.ServletException: Servlet

问题描述 SERVLET出错javax.servlet.ServletException: Servlet 解决方案 看看你的servlet是不是循环调用了,死循环了. 解决方案二: 栈溢出,myserver的doget方法循环调用导致内存耗尽.

jsp web html-HTTP Status 500 - javax.servlet.ServletException

问题描述 HTTP Status 500 - javax.servlet.ServletException type Exception report message javax.servlet.ServletException: java.lang.NoClassDefFoundError: org/apache/lucene/search/Query description The server encountered an internal error that prevented it

JDK版本问题导致的javax.servlet.ServletException: Cannot f

这是我这几天遇到的一个问题,最后发现是一个低级的错误,不过还是值得记录下来:1.问题现象:我在Eclipse通过MyEclipse创建一个WebProject,使用Struts1.2.在Eclipse运行没有问题,于是就是用Eclipse的Export功能,导出为一个war文件,将该war文件解压后放到了Tomcat的webapps目录,启动tomcat.访问时在浏览器中就遇到了问题: javax.servlet.ServletException: Cannot find ActionMappi