I started out with an Appfuse project, but have customized it following
the Wiki directions on doing portlets with Struts2, specifically version
2.0.8 with XWork 2.0.3 integrating with Spring 2.0.6. The AppFuse
plugins have pulled in the struts2-spring-plugin, which contains the
class StrutsSpringObjectFactory.
Has anyone seen this "No mapping found for
dependency"/MissingDependencyException? There was one mention of it in
JIRA, but the comment was just to make sure your xwork-2.0.1. jar was in
the WEB-INF/lib directory - which it is. I cranked up the logging to
DEBUG. No additional clues. Any suggestions on ways to figure out what
I am doing wrong would be appreciated even if you can't tell me exactly
what might be causing this. Thank you.
Fred
15:52:17,170 ERROR [STDERR] Caused by:
com.opensymphony.xwork2.inject.ContainerImpl$MissingDependencyException:
No mapping found for dependency [type=javax.servlet.ServletContext,
name='default'] in public
org.apache.struts2.spring.StrutsSpringObjectFactory(java.lang.String,java.lang.String,javax.servlet.ServletContext).
15:52:17,170 ERROR [STDERR] at
com.opensymphony.xwork2.inject.ContainerImpl.createParameterInjector(ContainerImpl.java:239)
15:52:17,170 ERROR [STDERR] at
com.opensymphony.xwork2.inject.ContainerImpl.getParametersInjectors(ContainerImpl.java:229)
15:52:17,170 ERROR [STDERR] at
com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.<init>(ContainerImpl.java:318)
15:52:17,170 ERROR [STDERR] ... 171 more
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]