2014-10-23 21:18:03 [org.springframework.beans.factory.support.DefaultListableBeanFactory]-[DEBUG] Ignoring constructor [public org.apache.struts2.dispatcher.ServletDispatcherResult(java.lang.String)] of bean 'org.apache.struts2.dispatcher.ServletDispatcherResult': org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.apache.struts2.dispatcher.ServletDispatcherResult': Unsatisfied dependency expressed through constructor argument with index 0 of type [java.lang.String]: : No unique bean of type [java.lang.String] is defined: Unsatisfied dependency of type [class java.lang.String]: expected at least 1 matching bean; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [java.lang.String] is defined: Unsati
------解决思路----------------------
楼主你看看你的
@Resource是不是有一个 写到了 String 成员变量上了
提示说你No unique bean of type [java.lang.String]
------解决思路----------------------
看看呢