struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Buics <rbu...@pc.ntep.nec.co.jp>
Subject bean error (newbie)
Date Thu, 30 Jan 2003 06:23:34 GMT
good day all,

It took me almost 2 days to figure this out.
I have a bean MyString, resides at myapps/WEB-INF/classes/mystring but it
turns to exception ClassNotFoundException.

--buics


org.apache.jasper.JasperException: MyString
 at
org.apache.jasper.compiler.BeanRepository.getBeanType(BeanRepository.java:183)

 at
org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:691)

 at org.apache.jasper.compiler.Node$GetProperty.accept(Node.java:552)
 at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:1028)
 at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:1070)
 at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:1076)
 at org.apache.jasper.compiler.Node$Root.accept(Node.java:232)
 at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:1028)
 at org.apache.jasper.compiler.Generator.generate(Generator.java:1871)
 at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:238)
 at org.apache.jasper.compiler.Compiler.compile(Compiler.java:351)
 at
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:474)

 at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:184)

 at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)

 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)

 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)

 at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)

 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)

 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)

 at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493)

 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)

 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
 at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)

 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)

 at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)

 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)

 at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)

 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)

 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)

 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)

 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
 at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
 at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386)

 at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
 at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530)

 at java.lang.Thread.run(Thread.java:536)


root cause

java.lang.ClassNotFoundException: MyString
 at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1428)

 at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1274)

 at
org.apache.jasper.compiler.BeanRepository.getBeanType(BeanRepository.java:181)

 at
org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:691)

 at org.apache.jasper.compiler.Node$GetProperty.accept(Node.java:552)
 at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:1028)
 at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:1070)
 at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:1076)
 at org.apache.jasper.compiler.Node$Root.accept(Node.java:232)
 at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:1028)
 at org.apache.jasper.compiler.Generator.generate(Generator.java:1871)
 at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:238)
 at org.apache.jasper.compiler.Compiler.compile(Compiler.java:351)
 at
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:474)

 at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:184)

 at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)

 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)

 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)

 at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)

 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)

 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)

 at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493)

 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)

 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
 at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)

 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)

 at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)

 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)

 at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)

 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)

 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)

 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)

 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
 at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
 at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386)

 at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
 at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530)

 at java.lang.Thread.run(Thread.java:536)




Mime
View raw message