隨筆-159  評(píng)論-114  文章-7  trackbacks-0

          安裝Eclipse 3.1.2 + WTP 1.0.1以后,就可以進(jìn)行相應(yīng)的webservice。


          建立一個(gè)動(dòng)態(tài)web項(xiàng)目,建立一個(gè)Javabean,想封裝一個(gè)webservice

          會(huì)報(bào)異常!

          IWAB0014E Unexpected exception occured.
          ? 0
          ????? java.lang.ArrayIndexOutOfBoundsException: 0
          ????? at org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceRuntimeExtensionUtils2.getDefaultServerValueFor(WebServiceRuntimeExtensionUtils2.java:511)
          ????? at org.eclipse.jst.ws.internal.creation.ui.widgets.ServerWizardWidgetDefaultingCommand.execute(ServerWizardWidgetDefaultingCommand.java:33)
          ????? at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.runCommand(CommandFragmentEngine.java:387)
          ????? at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.visitTop(CommandFragmentEngine.java:327)
          ????? at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.moveForwardToNextStop(CommandFragmentEngine.java:226)
          ????? at org.eclipse.wst.command.internal.env.ui.widgets.SimpleCommandEngineManager$5.run(SimpleCommandEngineManager.java:247)
          ????? at org.eclipse.wst.command.internal.env.ui.widgets.SimpleCommandEngineManager.runForwardToNextStop(SimpleCommandEngineManager.java:211)
          ????? at org.eclipse.wst.command.internal.env.ui.widgets.WizardPageManager.runForwardToNextStop(WizardPageManager.java:79)
          ????? at org.eclipse.wst.command.internal.env.ui.widgets.WizardPageManager.getNextPage(WizardPageManager.java:125)
          ????? at org.eclipse.wst.command.internal.env.ui.widgets.DynamicWizard.getStartingPage(DynamicWizard.java:314)
          ????? at org.eclipse.jface.wizard.WizardDialog.showStartingPage(WizardDialog.java:1041)
          ????? at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:504)
          ????? at org.eclipse.jface.window.Window.create(Window.java:418)
          ????? at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:996)
          ????? at org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard.run(DynamicPopupWizard.java:122)
          ????? at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:246)
          ????? at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:538)
          ????? at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
          ????? at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
          ????? at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
          ????? at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
          ????? at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3125)
          ????? at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2758)
          ????? at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
          ????? at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
          ????? at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
          ????? at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
          ????? at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
          ????? at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
          ????? at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
          ????? at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
          ????? at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          ????? at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
          ????? at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
          ????? at java.lang.reflect.Method.invoke(Unknown Source)
          ????? at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
          ????? at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
          ????? at org.eclipse.core.launcher.Main.run(Main.java:973)
          ????? at org.eclipse.core.launcher.Main.main(Main.java:948)

          其實(shí)是一個(gè)簡單的問題,可是Eclipse 這位大爺他不說人話。


          11.gif

          然后你在試試,就好了。



          posted on 2006-08-03 09:36 北國狼人的BloG 閱讀(6963) 評(píng)論(7)  編輯  收藏

          評(píng)論:
          # re: IWAB0014E Unexpected exception occured 該死的問題,就是因?yàn)镋clipse + WTP 需要先配置Server,再生成webservice 2007-01-12 17:36 | killer
          # re: IWAB0014E Unexpected exception occured 該死的問題,就是因?yàn)镋clipse + WTP 需要先配置Server,再生成webservice 2007-11-29 15:15 | lilm
          thank you  回復(fù)  更多評(píng)論
            
          # re: IWAB0014E Unexpected exception occured 該死的問題,就是因?yàn)镋clipse + WTP 需要先配置Server,再生成webservice[未登錄] 2007-12-17 17:49 | 小樹
          真的太感謝你了....哈哈..真的很希望你能加我的QQ23433291
          要不是看到你的這個(gè)文章我還不知道如何解決
          IWAB0014E Unexpected exception occured
          這個(gè)問題.還有tomcat的連接問題  回復(fù)  更多評(píng)論
            
          # re: IWAB0014E Unexpected exception occured 該死的問題,就是因?yàn)镋clipse + WTP 需要先配置Server,再生成webservice 2008-07-07 10:06 | thank
          謝謝!
          原來是沒有安裝tomcat的服務(wù)  回復(fù)  更多評(píng)論
            
          # re: IWAB0014E Unexpected exception occured 該死的問題,就是因?yàn)镋clipse + WTP 需要先配置Server,再生成webservice 2009-03-10 10:58 | baishou520
          謝謝!
          原來是沒有安裝tomcat的服務(wù)
          我的eclipse竟然報(bào)空指針錯(cuò)誤,  回復(fù)  更多評(píng)論
            
          # re: IWAB0014E Unexpected exception occured 該死的問題,就是因?yàn)镋clipse + WTP 需要先配置Server,再生成webservice 2011-06-03 18:46 | zf
          太感謝了!救了我一命呵~  回復(fù)  更多評(píng)論
            
          # re: IWAB0014E Unexpected exception occured 該死的問題,就是因?yàn)镋clipse + WTP 需要先配置Server,再生成webservice 2012-10-08 17:22 | Small Ying
          不錯(cuò),解決問題了!   回復(fù)  更多評(píng)論
            

          只有注冊用戶登錄后才能發(fā)表評(píng)論。


          網(wǎng)站導(dǎo)航:
           
          主站蜘蛛池模板: 海伦市| 南宁市| 寿宁县| 平罗县| 怀安县| 泌阳县| 台山市| 林口县| 布拖县| 姜堰市| 潜江市| 韩城市| 塔城市| 法库县| 桑植县| 高安市| 海宁市| 兴城市| 兴隆县| 唐山市| 二连浩特市| 平罗县| 南漳县| 奉化市| 神木县| 开封县| 察雅县| 雅安市| 原平市| 吴桥县| 咸丰县| 绥江县| 惠安县| 织金县| 辽宁省| 荔浦县| 兴文县| 玉门市| 崇义县| 泰安市| 紫金县|