报错信息:
14:12:12,484 ERROR RequestProcessor:284 - No action instance for path /leftTreeMenu could be created
java.lang.NullPointerException
at sun.jkernel.DownloadManager.getBootClassPathEntryForClass(DownloadManager.java:891)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:293)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1255)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1189)
at org.apache.struts.util.RequestUtils.applicationClass(RequestUtils.java:117)
at org.apache.struts.util.RequestUtils.applicationInstance(RequestUtils.java:143)
at org.apache.struts.action.RequestProcessor.processActionCreate(RequestProcessor.java:280)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:218)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
解决办法:
在struct-config.xml中 </action-mappings>标签后面加这么一句:
<controller processorClass="org.springframework.web.struts.DelegatingRequestProcessor"/>
分享到:
相关推荐
前几天在网上下载一个struts2的helloword的例子,那个作者也真够缺德的,搞个错误的程序,害得我查了一天的程序错误。 最后发现竟然是struts.xml被写成啦sturts.xml。 碰见这样的问题先鄙视下提供例子的作者, ...
HTTP Status 404 - There is no Action mapped for namespace and action name BackMemberGroupAudit..doc
jsp\No result defined for action and result input.doc
No result defined for action.doc
WIFI_DRIVER_FW_PATH_PARAM := "/sys/module/bcmdhd/parameters/firmware_path" #SW_BOARD_USR_WIFI := AP6181 #SW_BOARD_USR_WIFI := AP6210 #WIFI_DRIVER_FW_PATH_STA := "/system/vendor/modules/fw_bcm...
<action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> android:authorities=...
该文档对weblogic使用过程中,包括下载,安装,部署...6. weblogic部署war包action不能访问问题解决方法 [There is no Action mapped for namespace / and action name]. 5 7. java.lang.StackOverflowError. 5 等等
什么是 C++/CLI 个人感觉将其看作是位于静态程序设计和动态程序设计之间的一座桥梁。C++ 既C++ 编程语言编程语言; CLI 即通用语言基础构造( Common Language Infrastructure ),这是一个支持动态组件编程模型的...
http://localhost:8080/ struts2会拦截,出现异常信息 There is no Action mapped for namespace / and action name.默认配置的welcomefile没有起作用。 按附件配置即可解决此问题
Action recognition and human pose estimation are closely related but both problems are generally handled as distinct tasks in the literature. In this work, we pro- pose a multitask framework for ...
(the last one can be overridden for the implementation of new alignment rules). - ADD: The property TFlexPanel.GridControl moved to the public section and is now available for writing (during the ...
* Object Browser double-click action and drag & drop action could not be defined for database link type * Subprogram declaration popup could be truncated if it included comments * Dates * Selecting...
Android Dynamic Action(动态Action) Android Dynamic Action,简称DA,是一种简便、可变Action的实现方案。DA框架的初衷是为了取代Context.startActivity的调用方式,使用建造者模式(Builder Pattern)构建交互参数...
Helmfile动作 此操作模板helmfiles。...使用:utopia-planitia / helmfile-action @ v1,并带有:helmfile:'path / helmfile.yaml'后期渲染器:'path / post-renderer'值:'path / helmfile-values.yaml'
2015-09-12 06:51:03.602: [ CRSEVT][11304]32CAAMonitorHandler :: 0:Action Script /opt/oracle/product/10.2/crs/bin/racgwrap(check) timed out for ora.p550b.vip! (timeout=60) 2015-09-12 06:51:03.602: [ ...
在网上找了好个struts2的例子结果都不好使报There is no Action mapped for namespace / and action name这个错,没办法自己搞了个好用的,myeclipse 6.0 +tomcat5.5 + jdk 1.5 引入项目后直接发布就可以了!
ML文件解析 系统在工作时,需要配置文件信息(XML),但是,一般情况下... <action-mapping path="/login" type="action.LoginAction" /> <action-mapping path="/list" type="action.ListAction" /> </action-config>
本资源 利用人工+机器 翻译了 Action Tubelet Detector for Spatio-Temporal Action Localization 如有错误,望指出
uses : chronotruck/webpack-stats-diff-action@1.0.0 with : base_stats_path : ' /path/to/my/stats.json ' head_stats_path : ' /path/to/my/stats.json ' token : ${{ secrets.GITHUB_TOKEN }} comment_...
in the <forward /> tag, name must be "REQUEST_NOT_CONFIG", the path you can config a exist page in your application. <forward name="REQUEST_NOT_CONFIG" path="/error.jsp" /> </global-forwards> ...