最近在研究“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 开发的相关包
分享到:
相关推荐
部署struts web项目到Tomcat,出错Unable to load configuration. - action,部署另外的web项目依然出错,甚至错误中的提示还是上一个项目名,愕然!!不过解决了
一般网上的都是单个答案,没其他选项,这个资源有所有选项,并且含图片 ... 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?
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...
- 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....
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 ...
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...
# 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/...
- 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...
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 ...
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 ...
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 ...
5.之后测试配置(Test Configuration)成功(成功后的显示是闪一下就消失了),但启动(Start)时,提示一个警告“PHP Startup: Unable to load dynamic library 'd:\program files\ php-5.0.0RC3-Win32\ext\msql.dll' -...
• 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...
[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 ...
1. Unable load/create dialog item of type 'HTML'报错对话框弹出。WordProcessor根本无法使用。 2. 使用Microstation自带的RSC字体时,空格处会显示为‘1/64’ 这类问题主要是旧版软件的WordProcessor构件与系统的...
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...
UIDE caches 5 Megabytes to 4 GIGABYTES of data It can set up to four separate caches of its own "Common" User 1" "User 2" and "CD DVD" and it also permits ...
cout << "Unable to load DLL \'" !" ; } return 0; } 注意 1. 显示调用使用GetProcAddress,所以只能加载函数,无法加载变量和类。 2. 此外GetProcAddress是直接在.dll文件中寻找同名函数,如果DLL中的Test...