• Post Reply Bookmark Topic Watch Topic
  • New Topic

bean not found excetion.

 
Bhargav Srinivasa
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can any one tell me why am i getting this error.Please this is too important for me....

HTTP Status 500 -

--------------------------------------------------------------------------------

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: Cannot find bean under name compInfoOptions
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:825)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:758)
org.apache.jsp.view.component.addcomp_jsp._jspService(addcomp_jsp.java:1015)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


root cause

javax.servlet.jsp.JspException: Cannot find bean under name compInfoOptions
org.apache.struts.taglib.html.OptionsTag.getIterator(OptionsTag.java:368)
org.apache.struts.taglib.html.OptionsTag.doEndTag(OptionsTag.java:188)
org.apache.jsp.view.component.addcomp_jsp._jspx_meth_html_options_0(addcomp_jsp.java:1247)
org.apache.jsp.view.component.addcomp_jsp._jspx_meth_html_select_0(addcomp_jsp.java:1218)
org.apache.jsp.view.component.addcomp_jsp._jspService(addcomp_jsp.java:450)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs.


--------------------------------------------------------------------------------

Apache Tomcat/5.0.28
 
JayaSiji Gopal
Ranch Hand
Posts: 303
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!

This error occurs, when you have not configured your bean to use with your action servlet in your deployment descriptor.

This error also occurs if the bean doesnt exist in any scope.
 
Rajesh Pandey Rajesh Pandey
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Friend

As you seeing that status code 500 it means that there are some problem with your server which server u are using expain detail then i can give your solution.suppose if u are using tomcat then try to add servlet api in classpath after it shouldnot give such error

Regards
Rajesh Pandey
Mob:- +919811903737
email:- rajesh-pandey@hotmail.com
A freelance software Developer
India Delhi
 
Rajesh Pandey Rajesh Pandey
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear freind

Are you deploy jsp . if it gives such error in case of jsp deployment then try to add jsp runtime api jsp engine in class path after that your programme deploy successfully

Regards
Rajesh Pandey
Freelance software Developer
India Delhi
email:- rajesh-pandey@hotmail.com
9811903737
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!