0

単純なSpringWS(1.5.9)を作成し、それをGlassfishv3にデプロイしようとしています。残念ながら、上記の理由で展開は失敗します。私は自分で問題を解決するのに苦労しましたが、明らかに「bean」要素を解決することができません。

Heres me spring-ws-servlet.xml(豆の定義):

<beans xmlns="http://www.springframework.org/schema/beans"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

...bean definitions

</beans>

schemaLocationに設定して試してみたところspring-beans-3.0.xsd、同じ結果になりました。

私のWARには依存関係が1つだけあり、それがSpring-WSです。

4

2 に答える 2

1

スキーマの場所の標準コレクション、特に Bean スキーマに必要なスキーマの場所を提供していません。

ここに私のものがあります:

<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:context="http://www.springframework.org/schema/context"
  xmlns:gate="http://gate.ac.uk/ns/spring"
  xsi:schemaLocation="
    http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd
    http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
    http://gate.ac.uk/ns/spring http://gate.ac.uk/ns/spring.xsd
    ">
</beans>
于 2010-10-07T22:19:15.413 に答える
0

インターネット上の別のファイルからビーンズタグをコピーしたときに同じ失敗が発生しました.html文の間にスペースを入力したことを確認する必要があります.

    <beans xmlns="http://www.springframework.org/schema/beans"(space)xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"(space)
        xmlns:context="http://www.springframework.org/schema/context"(space)   
      ....
     ">
        </beans>
于 2011-04-27T22:16:07.293 に答える