• Post Reply Bookmark Topic Watch Topic
  • New Topic

The value for the useBean class attribute Bean.Airf.AirfData is invalid

 
indika prasad kularathne
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all..
I am using tomcat 5 and i have a deployed folder called test.I use number of beans in thant folder write now.today i created another folder called test2 and copy the test folder on to it and deployed the test2 folder.then i restart the tomcat. when i run the application in net folder (eg../test2/test/index.jsp) it gives the folowing error.
pls help me..
thanks..


The value for the useBean class attribute Bean.Airf.AirfData is invalid.
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:376)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:150)
org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:1217)
org.apache.jasper.compiler.Node$UseBean.accept(Node.java:1116)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213)
org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2219)
org.apache.jasper.compiler.Node$Root.accept(Node.java:456)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
org.apache.jasper.compiler.Generator.generate(Generator.java:3261)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:244)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:461)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:442)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:430)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:274)
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:810)
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you copy the contents of test into test2 or did you copy the folder itself? If you copied the folder itself, you've probably got an improper file hierarchy.

See:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/class-loader-howto.html
for information about the file structure of a Servlet/JSP application.

In a nutshell your new app should look like:
test2
test2/WEB-INF/
test2/WEB-INF/web.xml
test2/WEB-INF/classes/
test2/WEB-INF/lib/
 
indika prasad kularathne
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for ur help.now its really working.thanks..
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!