`
虚弱的java
  • 浏览: 159898 次
  • 性别: Icon_minigender_1
  • 来自: 哈尔滨
社区版块
存档分类
最新评论

关于Unable to load configuration. 异常信息的分析

阅读更多

最近在研究“struts2 in action” 这本书时,在实践书中的案例过程中,遇到了这样的异常信息:

Unable to load configuration. - action - file:/G:/jboss-4.2.3.GA/server/default/deploy/Struts2Action.war/WEB-INF/classes/struts.xml:42:67
 at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:69)
 at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:371)
 at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:415)
 at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:69)
 at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:51)
 at org.apache.catalina.core.ApplicationFilte

 

弄好长时间才解决掉:

开发环境:Myeclipse7.0 JBoss4.2.3

开发中所应用到的struts2包:

commons-fileupload-1.2.1.jar

commons-io-1.3.2.jar

freemarker-2.3.16.jar

javassist-3.7.ga.jar

ognl-3.0.jar

struts2-core-2.2.1.1.jar

xwork-core-2.2.1.1.jar

 

解决方案:在struts.xml文件中,配置<action name="register" class="dcom.study.web.action.Register">中,class节点出错。

当然,如果各位在实际开发中,遇到这样的异常信息,也要参考网络上的其他方案。多方面,权衡考虑。

 

附struts2 开发的相关包

 

0
0
分享到:
评论

相关推荐

    移除部署的web

    部署struts web项目到Tomcat,出错Unable to load configuration. - action,部署另外的web项目依然出错,甚至错误中的提示还是上一个项目名,愕然!!不过解决了

    CCNA2-chap1(answer)

    一般网上的都是单个答案,没其他选项,这个资源有所有选项,并且含图片 ... After host 2 is connected to the switch on the LAN, host 2 is unable to communicate with host 1. What is the cause of this problem?

    cp201x资源启动程序

    This will save the configuration settings and from next time onwards user can directly run ‘minicom’ command without the option ‘–s’ and it will load settings from the saved file. 【技术】Ubuntu...

    FlexGraphics_V_1.79_D4-XE10.2_Downloadly.ir

    - ADD: Add TFlexPanel.InvalidateControl virtual method which calls from TFlexControl.Invalidate and can be overriden (it is possible now to catch all object invalidation calls). - FIX: The TFlexPanel....

    EurekaLog_7.5.0.0_Enterprise

    1)....Added "ECC32TradeSpeedForMemory" option - defaults to 0/False, could be changed to 1 via Custom/Manual tab. This option will switch from fast-methods to slower methods, but which take less ...

    BURNINTEST--硬件检测工具

    will need to be sent to Microsoft as per the normal process. However, a log entry will be added to the normal BurnInTest log. - Changes to trace logging to reduce activity when trace logging is not...

    linux全志R16的linux系统编译的资料_20170502_1655.7z

    # configuration written to /home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/.config # make:离开目录“/home/wwt/linux_r16/lichee/buildroot” make:进入目录'/home/wwt/linux_r16/lichee/...

    S7A驱动720版本

    - The field "Default Gateway" has been added to the NetLink's configuration property page - The string write from the OPC Server sometimes failed . This bug has been fixed - After driver uninstall...

    Turbo C 2.00[DISK]

    unable to process your letter. 4. If you have an urgent problem that cannot wait and you have sent in the license agreement from the front of your manual, you may call the Borland Technical ...

    MS-DOS 5.0

    to the User's Guide and Reference. For information about using applications with MS-DOS 5.0, see the APPNOTE.TXT file. 2. SOLVING SETUP PROBLEMS ========================= 2.1 Priam and Everex ...

    Turbo C 2.01[DISK]

    unable to process your letter. 4. If you have an urgent problem that cannot wait and you have sent in the license agreement from the front of your manual, you may call the Borland Technical ...

    配置阿帕奇1.PHP4.23在WindowsXP下的IIS和Apache2两种服务器上的安装实例 http://www.phpe.net/articles/260.shtml

    5.之后测试配置(Test Configuration)成功(成功后的显示是闪一下就消失了),但启动(Start)时,提示一个警告“PHP Startup: Unable to load dynamic library 'd:\program files\ php-5.0.0RC3-Win32\ext\msql.dll' -...

    Citrix_XenApp5

    • The Web Plugin is the simplest of the Windows clients and does not allow for as much interaction or configuration. • often be deployed in scenarios where machines are older, slower, or not in need...

    Bochs - The cross platform IA-32 (x86) emulator

    [3084390] Bochs won't load floppy plugin right on startup [3043174] Docbook use of '_' build failure [3085140] Ia_arpl_Ew_Rw definition of error [3078995] ROL/ROR/SHL/SHR modeling wrong when dest ...

    不能从对话框中装载/创建类型为 'HTML',id =41510001 的对话框条目,该对话框为: "文本编辑器 - 字处理器"

    1. Unable load/create dialog item of type 'HTML'报错对话框弹出。WordProcessor根本无法使用。 2. 使用Microstation自带的RSC字体时,空格处会显示为‘1/64’ 这类问题主要是旧版软件的WordProcessor构件与系统的...

    8-07-14_MegaCLI for linux_windows

    SCGCQ00326673 Defect 5.5 CLI Version 8.07.00/Unable to flash the controller's FW using CLI SCGCQ00327929 Defect Command to enable Patrol Read on SSDs controller property is not shown in Help SCGCQ...

    uhdd.sys源码

    UIDE caches 5 Megabytes to 4 GIGABYTES of data It can set up to four separate caches of its own &quot;Common&quot; User 1&quot; &quot;User 2&quot; and &quot;CD DVD&quot; and it also permits ...

    自己写的dll的简介

    cout &lt;&lt; "Unable to load DLL \'" !" ; } return 0; } 注意 1. 显示调用使用GetProcAddress,所以只能加载函数,无法加载变量和类。 2. 此外GetProcAddress是直接在.dll文件中寻找同名函数,如果DLL中的Test...

Global site tag (gtag.js) - Google Analytics