Während des Ausführens einer kleinen Anwendung in Eclipse erhalte ich einen HTTP -Status 500 -Fehler vom Tomcat -Server, den ich durch Eclipse selbst durchführe ... < /p>
HTTP Status 500 -
--------------------------------------------------------------------------------
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
java.lang.NullPointerException
org.apache.struts2.impl.StrutsActionProxy.getErrorMessage (StrutsActionProxy.java:69)
com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:185)
org.apache.struts2.impl.StrutsActionProxy.prepare(StrutsActionProxy.java:63)
org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:39)
com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:58)
org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:500)
org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:434)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.8 logs.
< /code>
Diese Nachricht vom Server besagt, dass der Fehler durch eine "NullPointerexception" verursacht wurde. Die letzte Zeile besagt, dass "Vollstapel -Trace in Apache Tomcat /7.0.8 -Protokollen verfügbar ist.0:0:0:0:0:0:0:1 - - [03/May/2012:15:19:16 +0530] "GET /KurniawanChap02Struts/ HTTP/1.1" 500 1789
< /code>
Ich habe auch versucht, die "Protokollierungsstufen" zu erhöhen, aber selbst das hilft nicht.
Was soll ich tun, um auf die detaillierten Protokolle des Servers zugreifen zu können? < /p>
Zugriff auf detaillierte Protokolle in Tomcat ⇐ Java
-
- Similar Topics
- Replies
- Views
- Last post