Jboss でアプリケーションを適切に実行しています。春のWebサービスクライアントを作成するために、を使用してクラスを生成しwsimportました。私は設定で次のように書いています
<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>
jboss?libに私は持っていjboss-jaxws.jar,spring.jarます...今私はコピーしました
spring-ws-1.5.0.jar and saaj-impl-1.3.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)
このエラーを解決するのを手伝ってください。これらのエラーは、これらの jar を保持した後にのみ発生します。しかし、これらは私の新しいコードを実行するために必要でした。それらを回避する方法を教えてください。