22/11/2010, 19:00
|
| | Fecha de Ingreso: noviembre-2010
Mensajes: 12
Antigüedad: 14 años Puntos: 0 | |
Respuesta: Problema conectando struts con hibernate Hola nuevamente.
Pues en netbeans sigo sin poderver las excepciones, al parecerme las está regresando en unos archivos.
Está es un archivo llamado stdout_20101122
java.lang.NullPointerException
at org.hibernate.cfg.Configuration.configure(Configur ation.java:1441)
at Controlador.HibernateUtil.init(HibernateUtil.java: 33)
at org.apache.struts.action.ActionServlet.initModuleP lugIns(ActionServlet.java:871)
at org.apache.struts.action.ActionServlet.init(Action Servlet.java:359)
at javax.servlet.GenericServlet.init(GenericServlet.j ava:212)
at org.apache.catalina.core.StandardWrapper.loadServl et(StandardWrapper.java:1173)
at org.apache.catalina.core.StandardWrapper.load(Stan dardWrapper.java:993)
at org.apache.catalina.core.StandardContext.loadOnSta rtup(StandardContext.java:4149)
at org.apache.catalina.core.StandardContext.start(Sta ndardContext.java:4458)
at org.apache.catalina.core.StandardContext.reload(St andardContext.java:3190)
at org.apache.catalina.manager.ManagerServlet.reload( ManagerServlet.java:918)
at org.apache.catalina.manager.ManagerServlet.doGet(M anagerServlet.java:360)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:717)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:191)
at org.apache.catalina.authenticator.AuthenticatorBas e.invoke(AuthenticatorBase.java:525)
at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:849)
at org.apache.coyote.http11.Http11Protocol$Http11Conn ectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run( JIoEndpoint.java:454)
at java.lang.Thread.run(Unknown Source)
Y este es uno llamado localhost2010-11-122
22/11/2010 06:55:48 PM org.apache.catalina.core.StandardContext loadOnStartup
GRAVE: El Servlet /Ihtoa lanzó excepción de load()
javax.servlet.UnavailableException
at org.apache.struts.action.ActionServlet.init(Action Servlet.java:402)
at javax.servlet.GenericServlet.init(GenericServlet.j ava:212)
at org.apache.catalina.core.StandardWrapper.loadServl et(StandardWrapper.java:1173)
at org.apache.catalina.core.StandardWrapper.load(Stan dardWrapper.java:993)
at org.apache.catalina.core.StandardContext.loadOnSta rtup(StandardContext.java:4149)
at org.apache.catalina.core.StandardContext.start(Sta ndardContext.java:4458)
at org.apache.catalina.core.StandardContext.reload(St andardContext.java:3190)
at org.apache.catalina.manager.ManagerServlet.reload( ManagerServlet.java:918)
at org.apache.catalina.manager.ManagerServlet.doGet(M anagerServlet.java:360)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:717)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:191)
at org.apache.catalina.authenticator.AuthenticatorBas e.invoke(AuthenticatorBase.java:525)
at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:849)
at org.apache.coyote.http11.Http11Protocol$Http11Conn ectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run( JIoEndpoint.java:454)
at java.lang.Thread.run(Unknown Source) |