登錄后跳轉(zhuǎn)問題
我的登錄后 怎么 跳轉(zhuǎn)不到Users_action
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
action.SuperAction.setServletRequest(SuperAction.java:31)
org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:129)
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:244)
com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:193)
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:244)
com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:189)
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:244)
org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:54)
org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:564)
org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:81)
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:99)
note?The full stack trace of the root cause is available in the Apache Tomcat/7.0.30 logs.
Apache Tomcat/7.0.30
2016-09-19
手動(dòng)把hibernate的jar包複製在WEB-INF下的lib中就可以了!
2016-09-05
我的也是啊。你解決了嗎
2016-08-09
打個(gè)斷點(diǎn) , 看能不能進(jìn)入到action ,? 不能的話 就是路徑上哪里有問題把
2016-06-12
很明顯 ??服務(wù)器啟動(dòng)成功了 ??代碼錯(cuò)誤了 ?所以報(bào)500錯(cuò)誤!
action.SuperAction.setServletRequest(SuperAction.java:31) ?重點(diǎn)看看這句怎么就空指針了