海水正藍

          面朝大海,春暖花開
          posts - 145, comments - 29, trackbacks - 0, articles - 1
            BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理

          日歷

          <2013年1月>
          303112345
          6789101112
          13141516171819
          20212223242526
          272829303112
          3456789

          文章檔案

          搜索

          •  

          Spring mvc Webservice 不允許重載方法

          Posted on 2013-01-09 10:10 小胡子 閱讀(832) 評論(0)  編輯  收藏 所屬分類: Spring
          嚴重: 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 'ResourceService': Invocation of init method failed; nested exception is javax.xml.ws.WebServiceException: java.lang.IllegalArgumentException: An operation with name [####] already exists in this service

          可能是因為WebService 存在重載的方法,因此初始化時Spring無法找到對應的方法
          使用的插件為:
          javax.jws-1.0.0_JDK1.5_1.0.0.jar
          cxf-bundle-2.5.2.jar
          spring-webmvc-3.1.1.RELEASE.jar
          主站蜘蛛池模板: 大新县| 汝阳县| 都昌县| 遵义县| 深圳市| 岐山县| 房产| 衡南县| 富裕县| 肇州县| 驻马店市| 榆林市| 朝阳区| 札达县| 革吉县| 洛川县| 独山县| 遂溪县| 瓦房店市| 高邑县| 巧家县| 舞钢市| 军事| 武穴市| 广宗县| 十堰市| 沙湾县| 泰顺县| 临高县| 通州区| 麻城市| 马龙县| 财经| 吴桥县| 宿州市| 黎川县| 宜丰县| 广宁县| 瑞昌市| 涡阳县| 通榆县|