`
ttsiangogole
  • 浏览: 73364 次
文章分类
社区版块
存档分类
最新评论
阅读更多

    <span style="font-family: Times New Roman; font-size: 18px;">报错信息:</span>

<span style="font-family: Times New Roman; font-size: 16px;">14:12:12,484 ERROR RequestProcessor:284 - No action instance for path /leftTreeMenu could be created<br>
java.lang.NullPointerException<br>
at sun.jkernel.DownloadManager.getBootClassPathEntryForClass(DownloadManager.java:891)<br>
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:293)<br>
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)<br>
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1255)<br>
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1189)<br>
at org.apache.struts.util.RequestUtils.applicationClass(RequestUtils.java:117)<br>
at org.apache.struts.util.RequestUtils.applicationInstance(RequestUtils.java:143)<br>
at org.apache.struts.action.RequestProcessor.processActionCreate(RequestProcessor.java:280)<br>
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:218)<br>
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)<br>
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)<br>
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)<br>
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)</span>

<span style="font-family: Times New Roman; font-size: 18px;">解决办法:</span>

<span style="font-family: Times New Roman; font-size: 16px;">在struct-config.xml中 </action-mappings>标签后面加这么一句:</span>

<span style="font-family: Times New Roman; font-size: 16px;"><controller processorClass="org.springframework.web.struts.DelegatingRequestProcessor"/></span>

 
0
0
分享到:
评论

相关推荐

    struts1项目500常见错误总结

    本文将深入探讨一种常见的500错误——"No action instance for path /Logon could be created",并提供相应的解决策略。 首先,我们要理解这个错误的根本原因。"No action instance for path /Logon could be ...

    -软件工程第一章作业

    第三个异常:“No action instance for path /xxxx could be created”。这个异常意味着Struts无法创建指定路径的Action实例。这可能是因为在struts-config.xml中指定了的Action类在运行时没有被找到。问题可能出在...

    Strus常见错误及原因分析.doc

    3. **No action instance for path /xxxx could be created** 这个错误表明Struts无法实例化在`struts-config.xml`中配置的action。可能的原因包括: - 编译后的`.class`文件不在正确的类路径下,通常应位于`WEB-...

    Struts的常见错误和异常.doc

    3. **No action instance for path /xxxx could be created 异常** 这个错误意味着Struts无法实例化`struts-config.xml`中配置的Action类。这可能是由于以下原因: - 类路径问题:确保Action类的`.class`文件位于`...

    struts 常见错误

    3. **No action instance for path /xxxx could be created** 这个异常表示无法为给定路径创建Action实例。可能的原因包括: - Action类的`.class`文件不在正确的类路径下,确保编译后的Action类位于`WEB-INF/...

    Struts常见错误及原因分析

    3. 异常 No action instance for path /xxxx could be created 这个错误意味着无法创建Action实例。首先,确保Action类已正确编译并位于正确的类路径下,如WEB-INF/classes目录。其次,确认Action类继承自org....

    【开发经验】Struts常见错误及原因分析 .doc

    3. 异常`No action instance for path /xxxx could be created` 这个错误可能是因为多种原因,包括找不到编译后的`.class`文件、类路径问题、类名拼写错误或未继承自Struts的`Action`类。确保你的action类位于`WEB-...

    Struts常见错误及原因分析.

    #### 三、异常 No action instance for path /xxxx could be created **异常描述**: 此异常意味着在创建指定路径的Action实例时遇到问题。 **可能原因**: 1. **Class文件未放置在类路径中**:编译后的`.class`...

    jsp常见异常

    No action instance for path /xxxx could be created 该异常表明Struts框架无法创建对应路径的Action实例。这可能是因为Action类不存在,或者编译后的`.class`文件没有被正确放置在Web应用的`WEB-INF/classes`...

    java struts常见错误以及原因分析

    3. **异常 No action instance for path /xxxx could be created** 这个错误可能由多种原因引起,如找不到编译后的`.class`文件、包名或类名拼写错误、未继承自Struts `Action`类、classpath问题等。确保action类...

    FlexGraphics_V_1.79_D4-XE10.2_Downloadly.ir

    (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 ...

    php.ini-development

    ;;;;;;;;... PHP's initialization file, generally called php.ini, is responsible for ... 1.... 2.... 3.... 4.... 5. The web server's directory (for SAPI modules), or ... to be used for compression (default is 4KB) ; Note:...

    BURNINTEST--硬件检测工具

    - Minor changes to the No operation error watchdog timer for the CD and Hard disk tests. - Minor correction to the Butterfly seek test. - Video playback trace logging increased. Release 5.3 build ...

    端口查看工具

    active filter state and no filter state, as an alternative for 'Clear All Filters', which doesn't allow you to return back the filters. * Version 1.70: o Added /sort command-line option for ...

Global site tag (gtag.js) - Google Analytics