This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JSP and the fly likes error in class not in code Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "error in class not in code" Watch "error in class not in code" New topic
Author

error in class not in code

kritika buttan
Greenhorn

Joined: Jun 05, 2008
Posts: 5
hi...
actually i know that there is no error in code but me not able to find out the class...
where can i find the class !!!
my code is :

HTTP Status 500 -
________________________________________
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: /setupcache.jsp(1,1) The value for the useBean class attribute oracle.jdbc.pool.OracleConnectionCacheImpl is invalid.
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:148)
org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:1175)
org.apache.jasper.compiler.Node$UseBean.accept(Node.java:1117)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java(Compiled Code))
org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2216)
org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2222)
org.apache.jasper.compiler.Node$Root.accept(Node.java:457)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java(Compiled Code))
org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2216)
org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2240)
org.apache.jasper.compiler.Node$IncludeDirective.accept(Node.java:598)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java(Compiled Code))
org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2216)
org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2222)
org.apache.jasper.compiler.Node$Root.accept(Node.java:457)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java(Compiled Code))
org.apache.jasper.compiler.Generator.generate(Generator.java:3321)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:199)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:296)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:277)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:265)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:302)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.26 logs.
________________________________________
Apache Tomcat/5.5.26
[ June 06, 2008: Message edited by: Bear Bibeault ]
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6661
    
    5

Post your jsp that uses the jsp:useBean element. It appears you are using it incorrectly


SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
kritika buttan
Greenhorn

Joined: Jun 05, 2008
Posts: 5
m srry 4 soooo much confusion.....
m nt able 2 find out that whr can i find the class !
no error in code.....but whr can i find the classin d complete search !!!
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60755
    
  65

Please use real words when posting to the forums. Your post is so full of nonsense abbreviations that I cannot even begin to guess what it is you are trying to say.

Please read this for more information, and go back and edit your post to be more readable.

bear
JavaRanch sheriff
[ June 08, 2008: Message edited by: Bear Bibeault ]

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
kritika buttan
Greenhorn

Joined: Jun 05, 2008
Posts: 5
me not able to find out that where can i find the class !
no error in code.....but where can i find the class in d complete search !!!
me not able to configure also !!/
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60755
    
  65

Last warning. Use real words. Substituting "d" for "the" is not acceptable. If you want real answers to your questions, use real words to ask them.
maverick Mohan
Greenhorn

Joined: Jun 11, 2008
Posts: 6
Your question is unclear. You are talking about two things "code" and "class". Doesn't make much sense. Your code is correct but you want to find class. Its unclear that which code is correct and which class you are trying to search.

It appears that there is some error in your JSP, while you are trying to useBean. Please post the jsp for more details. You are getting jasper exception for the named jsp.

Thank you!
Shilpa Tendulkar
Ranch Hand

Joined: Jul 29, 2001
Posts: 75
What do you mean not able to find a class? do you mean to find a java file generated for jsp? if so, then it will in your server's work directory


SCJP5
 
wood burning stoves
 
subject: error in class not in code
 
Similar Threads
getting error javax.servlet.ServletException: javax/mail/Message
try again
Help in using bean inside JSP
error in class and not in code
can property be given as * in jsp:getProperty