From: http://www.itzhai.com/struts2-in-unable-to-load-configuration-error-analysis-and-solution.html
When an error such as unable to load configuration. occurs, you can find out the cause based on the error prompt.
Unable to load configuration. -interceptor-ref-file:/D:/Java/Apache-Tomcat-6.0.32/webapps/examquestions/WEB-INF/classes/struts. XML: 28: 49at COM. opensymphony. xwork2.config. configurationmanager. getconfiguration (configurationmanager. java: 58 )... caused by: unable to find interceptor class referenced by ref-name excludeparamsstack-interceptor-ref-file:/D: /Java/Apache-Tomcat-6.0.32/webapps/examquestions/WEB-INF/classes/struts. XML: 28: 49at COM. opensymphony. xwork2.config. providers. interceptorbuilder. constructinterceptorreference (interceptorbuilder. java: 52 )...
If you encounter this error, view the above:
Unable to load configuration.-interceptor-ref-file:/D:/Java/Apache-Tomcat-6.0.32/webapps/examquestions/WEB-INF/classes/struts. xml: 28: 49
An error occurred while listing 49 columns in 28 rows of Struts. xml. Locate the corresponding location and find the corresponding location.Code:
<Interceptor-ref name = "excludeparamsstack"/>
Continue to check the following prompt for caused by, and find that the referenced Interceptor: excludeparamsstack is not found here. After checking, it turns out that it was forgotten in struts. the interception stack excludeparamsstack is defined in the XML file.
The solution is to add the following configuration in struts. xml:
ext-comp -. *