| Author |
problem in useBean
|
prriya pratheep
Greenhorn
Joined: Jun 10, 2008
Posts: 22
|
|
Hi friends I used KavaChart to draw some charts in my project.The program was running in another server .i copied the program to another server and try to run that i am getting error at the line Jar file is at the location ./jakarta-tomcat-5.5.9/webapps/ROOT/WEB-INF/lib/kcServlet.jar Error is org.apache.jasper.JasperException: /plantStockSummary.jsp(5,0) The value for the useBean class attribute com.ve.kavachart.servlet.barApp 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:1200) org.apache.jasper.compiler.Node$UseBean.accept(Node.java:1160) org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343) org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393) org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2399) org.apache.jasper.compiler.Node$Root.accept(Node.java:489) org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343) org.apache.jasper.compiler.Generator.generate(Generator.java:3372) org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:198) org.apache.jasper.compiler.Compiler.compile(Compiler.java:314) org.apache.jasper.compiler.Compiler.compile(Compiler.java:294) org.apache.jasper.compiler.Compiler.compile(Compiler.java:281) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) We are using linux OS.Please help thanks
|
 |
Christophe Verré
Sheriff
Joined: Nov 24, 2005
Posts: 14672
|
|
|
You name your Java classes like this ? "barApp" instead of "BarApp" ? That might be the source of error.
|
[My Blog]
All roads lead to JavaRanch
|
 |
prriya pratheep
Greenhorn
Joined: Jun 10, 2008
Posts: 22
|
|
Thank you for your reply.The name is same. This program is working fine in another server, my work is shifting all the files from one server to another server. Any more suggestion? thanks
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56202
|
|
Most likely, that class is not available. Are you sure that you copied all the class files and jars? And, Christophe has a point -- even though it may work, using non-standard coding conventions makes code surprisingly hard to read. I'd take his suggestion to heart.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
 |
|
|
subject: problem in useBean
|
|
|