When deploying my HelloWorld-struts2-gwt-application i get this exception:

SCHWERWIEGEND: Exception starting filter struts2
Unable to load configuration. - interceptor-ref -
file:/D:/Programme/eclipse/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/struts2gwt-helloworld/WEB-INF/classes/example.xml:15:39
        at
com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:58)
        ...
Caused by: Unable to find interceptor class referenced by ref-name gwt -
interceptor-ref -
file:/D:/Programme/eclipse/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/struts2gwt-helloworld/WEB-INF/classes/example.xml:15:39
        at
com.opensymphony.xwork2.config.providers.InterceptorBuilder.constructInterceptorReference(InterceptorBuilder.java:52)
        ...

The gwt-interceptor is referenced in example.xml:
<action name="MessageService" class="action.MessageServiceAction"
method="getMessage">
        <interceptor-ref name="gwt"/>
</action>

The gwt-interceptor is present in the struts2gwtplugin-0.2.1.jar which is of
course added in WEB-INF/lib.
I haven't yet compiled the gwt-part to javascript, so the application won't
work as is, but the struts2-configuration should be loaded without problems.
Here is the code:
http://www.nabble.com/file/p22534621/struts2gwt-helloworld.war
struts2gwt-helloworld.war 

Regards,
Stephan
-- 
View this message in context: 
http://www.nabble.com/Unable-to-find-interceptor-class-referenced-by-ref-name-gwt-tp22534621p22534621.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to