Initialization of bean "handlingMapping" error!!! -------------------------------------------------
Key: XFIRE-1076 URL: http://jira.codehaus.org/browse/XFIRE-1076 Project: XFire Issue Type: Bug Affects Versions: 1.2.6 Environment: winxp, xfire 1.2.6 Reporter: Tommy Assignee: Dan Diephouse Priority: Critical I started my Tomcat and got the following error, Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'handlerMapping' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Initialization of bean failed; nested exception is java.lang.NullPointerException: null java.lang.NullPointerException The codes in my xfire-servlet, <import resource="classpath:org/codehaus/xfire/spring/xfire.xml" /> <bean id="jaxbTypeMappingRegistry" class="org.codehaus.xfire.jaxb2.JaxbTypeRegistry" init-method="createDefaultMappings" /> <bean id="webAnnotations" class="org.codehaus.xfire.annotations.jsr181.Jsr181WebAnnotations" /> <bean id="handlerMapping" class="org.codehaus.xfire.spring.remoting.Jsr181HandlerMapping"> <property name="typeMappingRegistry"> <ref bean="jaxbTypeMappingRegistry" /> </property> <property name="xfire"> <ref bean="xfire" /> </property> <property name="webAnnotations"> <ref bean="webAnnotations" /> </property> </bean> Could anyone explain what's the cause, and how to correct it? Thanks!!! -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email