无法访问WAR
可以正常启动jboss,但是无法deploy petstore.war
petstore使用了spring和log4j
错误信息如下
ERROR [STDERR]
297 [2010-08-03 10:18:18] - [ip=, ref=, ua=, sid=]
WARN c.a.c.s.s.c.InheritableListableBeanFactory - Failed to get value of DefaultListableBeanFactory.resolvableDependencies, autowiring of singleton proxy may function wrong
java.lang.NoSuchFieldException: resolvableDependencies
ERROR [STDERR]
3093 [2010-08-03 10:18:21] - [ip=, ref=, ua=, sid=]
ERROR o.s.web.context.ContextLoader - Context initialization failed
org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Failed to import bean definitions from relative location [common/webx-root.xml]
Offending resource: ServletContext resource [/WEB-INF/webx.xml]; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from ServletContext resource [/WEB-INF/common/webx-root.xml]; nested exception is java.lang.NoSuchMethodError: org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseBeanDefinitionAttributes(Lorg/w3c/dom/Element;Ljava/lang/String;Lorg/springframework/beans/factory/config/BeanDefinition;Lorg/springframework/beans/factory/support/AbstractBeanDefinition;)Lorg/springframework/beans/factory/support/AbstractBeanDefinition;
[最优解释]
根据你的log,你应该用来SPRING的autowired,而且是在resolvableDependencies上用的。
把你的配置文件和代码贴出
log太少了
[其他解释]
ERROR o.s.web.context.ContextLoader - Context initialization failed
你的配置文件可能有问题,你检查一下吧