24/03/2009, 21:29
|
| | Fecha de Ingreso: marzo-2009
Mensajes: 9
Antigüedad: 15 años, 9 meses Puntos: 0 | |
Respuesta: Como Compilo una clase.java con Apache Tomcat como servidor Muchas gracias por responderme Greenyed, ok tratare de especificar mi problema con mas detalle:
resulta que cuando trato de ejecutar un beans o sea un archivo.java que lo tengo compilado a archivo.class en el navergador con el Apache Tomcat me sale este error 500:
org.apache.jasper.JasperException: Calculadora.CalculatorBean
at org.apache.jasper.compiler.BeanRepository.getBeanT ype(BeanRepository.java:135)
at org.apache.jasper.compiler.Generator$GenerateVisit or.visit(Generator.java:650)
at org.apache.jasper.compiler.Node$GetProperty.accept (Node.java:507)
at org.apache.jasper.compiler.Node$Nodes.visit(Node.j ava:983)
at org.apache.jasper.compiler.Node$Visitor.visitBody( Node.java:1025)
at org.apache.jasper.compiler.Node$Visitor.visit(Node .java:1031)
at org.apache.jasper.compiler.Node$Root.accept(Node.j ava:187)
at org.apache.jasper.compiler.Node$Nodes.visit(Node.j ava:983)
at org.apache.jasper.compiler.Generator.generate(Gene rator.java:1891)
at org.apache.jasper.compiler.Compiler.generateJava(C ompiler.java:198)
at org.apache.jasper.compiler.Compiler.compile(Compil er.java:327)
at org.apache.jasper.JspCompilationContext.compile(Js pCompilationContext.java:427)
at org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:142)
at org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:240)
at org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:187)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:809)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:200)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:146)
at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:209)
at org.apache.catalina.core.StandardPipeline$Standard PipelineValveContext.invokeNext(StandardPipeline.j ava:596)
at org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.java:433)
at org.apache.catalina.core.ContainerBase.invoke(Cont ainerBase.java:948)
at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:144)
at org.apache.catalina.core.StandardPipeline$Standard PipelineValveContext.invokeNext(StandardPipeline.j ava:596)
at org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.java:433)
at org.apache.catalina.core.ContainerBase.invoke(Cont ainerBase.java:948)
at org.apache.catalina.core.StandardContext.invoke(St andardContext.java:2358)
at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:133)
at org.apache.catalina.core.StandardPipeline$Standard PipelineValveContext.invokeNext(StandardPipeline.j ava:596)
at org.apache.catalina.valves.ErrorDispatcherValve.in voke(ErrorDispatcherValve.java:118)
at org.apache.catalina.core.StandardPipeline$Standard PipelineValveContext.invokeNext(StandardPipeline.j ava:594)
at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:116)
at org.apache.catalina.core.StandardPipeline$Standard PipelineValveContext.invokeNext(StandardPipeline.j ava:594)
at org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.java:433)
at org.apache.catalina.core.ContainerBase.invoke(Cont ainerBase.java:948)
at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:127)
at org.apache.catalina.core.StandardPipeline$Standard PipelineValveContext.invokeNext(StandardPipeline.j ava:596)
at org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.java:433)
at org.apache.catalina.core.ContainerBase.invoke(Cont ainerBase.java:948)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(Co yoteAdapter.java:152)
at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:799)
at org.apache.coyote.http11.Http11Protocol$Http11Conn ectionHandler.processConnection(Http11Protocol.jav a:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(P oolTcpEndpoint.java:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlR unnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:619)
root cause
java.lang.ClassNotFoundException: Calculadora.CalculatorBean
at org.apache.catalina.loader.WebappClassLoader.loadC lass(WebappClassLoader.java:1407)
at org.apache.catalina.loader.WebappClassLoader.loadC lass(WebappClassLoader.java:1252)
at org.apache.jasper.compiler.BeanRepository.getBeanT ype(BeanRepository.java:133)
at org.apache.jasper.compiler.Generator$GenerateVisit or.visit(Generator.java:650)
at org.apache.jasper.compiler.Node$GetProperty.accept (Node.java:507)
at org.apache.jasper.compiler.Node$Nodes.visit(Node.j ava:983)
at org.apache.jasper.compiler.Node$Visitor.visitBody( Node.java:1025)
at org.apache.jasper.compiler.Node$Visitor.visit(Node .java:1031)
at org.apache.jasper.compiler.Node$Root.accept(Node.j ava:187)
at org.apache.jasper.compiler.Node$Nodes.visit(Node.j ava:983)
at org.apache.jasper.compiler.Generator.generate(Gene rator.java:1891)
at org.apache.jasper.compiler.Compiler.generateJava(C ompiler.java:198)
at org.apache.jasper.compiler.Compiler.compile(Compil er.java:327)
at org.apache.jasper.JspCompilationContext.compile(Js pCompilationContext.java:427)
at org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:142)
at org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:240)
at org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:187)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:809)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:200)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:146)
at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:209)
at org.apache.catalina.core.StandardPipeline$Standard PipelineValveContext.invokeNext(StandardPipeline.j ava:596)
at org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.java:433)
at org.apache.catalina.core.ContainerBase.invoke(Cont ainerBase.java:948)
at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:144)
at org.apache.catalina.core.StandardPipeline$Standard PipelineValveContext.invokeNext(StandardPipeline.j ava:596)
at org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.java:433)
at org.apache.catalina.core.ContainerBase.invoke(Cont ainerBase.java:948)
at org.apache.catalina.core.StandardContext.invoke(St andardContext.java:2358)
at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:133)
at org.apache.catalina.core.StandardPipeline$Standard PipelineValveContext.invokeNext(StandardPipeline.j ava:596)
at org.apache.catalina.valves.ErrorDispatcherValve.in voke(ErrorDispatcherValve.java:118)
at org.apache.catalina.core.StandardPipeline$Standard PipelineValveContext.invokeNext(StandardPipeline.j ava:594)
at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:116)
at org.apache.catalina.core.StandardPipeline$Standard PipelineValveContext.invokeNext(StandardPipeline.j ava:594)
at org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.java:433)
at org.apache.catalina.core.ContainerBase.invoke(Cont ainerBase.java:948)
at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:127)
at org.apache.catalina.core.StandardPipeline$Standard PipelineValveContext.invokeNext(StandardPipeline.j ava:596)
at org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.java:433)
at org.apache.catalina.core.ContainerBase.invoke(Cont ainerBase.java:948)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(Co yoteAdapter.java:152)
at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:799)
at org.apache.coyote.http11.Http11Protocol$Http11Conn ectionHandler.processConnection(Http11Protocol.jav a:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(P oolTcpEndpoint.java:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlR unnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:619)
Apache Tomcat/4.1.31
Que puedo hacer mi pana Greenyed para que no me salga mas este error y me ejecute el beans que puedo hacer??????......................... |