S2SH诡异异常,求高手分析 出错异常如下: 2011-06-14 22:32:44 [] 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 isorg.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [java.lang.String] is defined: Unsatisfied dependency of type [class java.lang.String]: expected at least 1 matching bean 2011-06-14 22:32:44 [] Forwarding to location exception.jsp
我在本机上都没有问题,发布到服务器上就出了问题,服务器是windows server 2003,并且该错误只有log4j的日志模式设为debug的时候才能看到此错误。 网上搜了老多都没有找到解决方法,我的问题跟这个相同http://group.gimoo.net/review/94101 求高手分析