Jboss에서 응용 프로그램을 제대로 실행하고 있습니다. Spring webservice 클라이언트를 작성하려면 wsimport
을 사용하여 클래스를 생성했습니다. 나는spring-ws 클라이언트를 사용하는 동안 Jboss에서 스프링 클래스 로더가 발생합니다.
<bean id="messageFactory" class="org.springframework.ws.soap.saaj.SaajSoapMessageFactory">
<property name="messageFactory">
<bean class="com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl"/>
</property>
에서 제이 보스? LIB 내가 구성에서 다음을 작성했습니다 지금은
spring-ws-1.5.0.jar and saaj-impl-1.3.jar
을 복사하지만 난 때라도 오류를 얻고있다 ...
jboss-jaxws.jar,spring.jar
있습니다
The Spring ContextLoaderListener we wrap threw on contextInitialized.
But for our having caught this error, the web application context would not have initialized.
org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from ServletContext resource [/WEB-INF/applicationContext.xml]; nested exception is java.lang.IllegalArgumentException: Class [org.apache.xbean.spring.context.v2.XBeanNamespaceHandler] does not implement the NamespaceHandler interface
Caused by:
java.lang.IllegalArgumentException: Class [org.apache.xbean.spring.context.v2.XBeanNamespaceHandler] does not implement the NamespaceHandler interface
at org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.initHandlerMappings(DefaultNamespaceHandlerResolver.java:119)
날이 오류를 해결하는 데 도움이 바랍니다. 이러한 오류가 나는 단지 이러한 항아리를 유지 후지고 있습니다. 그러나 이것들은 새로운 코드를 실행하는 데 필요합니다. 그들을 피하는 방법을 제안 해주세요.
실행중인 java 및 jboss의 버전은 무엇입니까? 그리고 현재 1.5.9 대신에 Spring WS 1.5.0을 사용하고있는 이유가 있습니까? – skaffman
java 1.4, jboss 4.2.3, spring 2.0.7을 사용하고 있습니다. 이유가 없습니다. 그냥 내 봄과 호환되기를 원해. 때문에 봄 버전, 나는 지금 봄 1.0.4를 사용하고 있습니다. 이러한 문제를 피하십시오. – vishnu