`
liwenshui322
  • 浏览: 522088 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

No action instance for path /xxxx could be created的Struts错误原因

阅读更多

      No action instance for path /xxxx could be created的Struts错误原因:有可能有这么一个情况,不是程序的原因,而是eclipse编译及时性的原因。如果报这么一个错误,可以到程序对应的class文件夹下找这个程序编译之后的class文件。有可能你新建的一个功能对应的action类还没有被编译呢。如果是这样 重新编译下整个项目就好了。

分享到:
评论

相关推荐

    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 异常** 这个错误意味着Struts无法实例化`struts-config.xml`中配置的Action类。这可能是由于以下原因: - 类路径问题:确保Action类的`.class`文件位于`...

    【开发经验】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`...

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

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

    -软件工程第一章作业

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

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

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

    jsp常见异常

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

Global site tag (gtag.js) - Google Analytics