I just try it out with a rest plugin based application. But with first
request I get following error.

java.lang.RuntimeException:
com.opensymphony.xwork2.inject.DependencyException:
com.opensymphony.xwork2.inject.ContainerImpl$MissingDependencyException: No
mapping found for dependency [type=java.lang.String,
name='struts.rest.namespace'] in public void
org.apache.struts2.rest.RestActionProxyFactory.setNamespace(java.lang.String).

Caused by:
java.lang.RuntimeException: java.lang.RuntimeException:
com.opensymphony.xwork2.inject.DependencyException:
com.opensymphony.xwork2.inject.ContainerImpl$MissingDependencyException: No
mapping found for dependency [type=java.lang.String,
name='struts.rest.namespace'] in public void
org.apache.struts2.rest.RestActionProxyFactory.setNamespace(java.lang.String).
        at
com.opensymphony.xwork2.inject.ContainerBuilder$4.create(ContainerBuilder.java:132)
        at com.opensymphony.xwork2.inject.Scope$2$1.create(Scope.java:51)
        at
com.opensymphony.xwork2.inject.ContainerImpl.getInstance(ContainerImpl.java:507)
        at
com.opensymphony.xwork2.inject.ContainerImpl.getInstance(ContainerImpl.java:517)
        at
com.opensymphony.xwork2.inject.ContainerImpl$9.call(ContainerImpl.java:548)
        at
com.opensymphony.xwork2.inject.ContainerImpl.callInContext(ContainerImpl.java:574)
        at
com.opensymphony.xwork2.inject.ContainerImpl.getInstance(ContainerImpl.java:546)
        at
org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:488)
        at
org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77)
        at
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:91)
        at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
        at
org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
        at
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
        at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
        at 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)

Are there any changes in my struts2.xml necessary? If yes we should add it
to the release notes.

Johannes

-----

--------------
web: http://www.jgeppert.com
twitter: http://twitter.com/jogep
--
View this message in context: 
http://struts.1045723.n5.nabble.com/VOTE-Struts-2-2-2-tp4266261p4270751.html
Sent from the Struts - Dev mailing list archive at Nabble.com.

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

Reply via email to