随笔-159  评论-114  文章-7  trackbacks-0

安装Eclipse 3.1.2 + WTP 1.0.1以后,就可以进行相应的webservice。


建立一个动态web项目,建立一个Javabean,想封装一个webservice

会报异常!

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)

其实是一个简单的问题,可是Eclipse 这位大爷他不说人话。


11.gif

然后你在试试,就好了。



posted on 2006-08-03 09:36 北国狼人的BloG 阅读(6928) 评论(7)  编辑  收藏

评论:
# re: IWAB0014E Unexpected exception occured 该死的问题,就是因为Eclipse + WTP 需要先配置Server,再生成webservice 2007-01-12 17:36 | killer
thinks  回复  更多评论
  
# re: IWAB0014E Unexpected exception occured 该死的问题,就是因为Eclipse + WTP 需要先配置Server,再生成webservice 2007-11-29 15:15 | lilm
thank you  回复  更多评论
  
# re: IWAB0014E Unexpected exception occured 该死的问题,就是因为Eclipse + WTP 需要先配置Server,再生成webservice[未登录] 2007-12-17 17:49 | 小树
真的太感谢你了....哈哈..真的很希望你能加我的QQ23433291
要不是看到你的这个文章我还不知道如何解决
IWAB0014E Unexpected exception occured
这个问题.还有tomcat的连接问题  回复  更多评论
  
# re: IWAB0014E Unexpected exception occured 该死的问题,就是因为Eclipse + WTP 需要先配置Server,再生成webservice 2008-07-07 10:06 | thank
谢谢!
原来是没有安装tomcat的服务  回复  更多评论
  
# re: IWAB0014E Unexpected exception occured 该死的问题,就是因为Eclipse + WTP 需要先配置Server,再生成webservice 2009-03-10 10:58 | baishou520
谢谢!
原来是没有安装tomcat的服务
我的eclipse竟然报空指针错误,  回复  更多评论
  
# re: IWAB0014E Unexpected exception occured 该死的问题,就是因为Eclipse + WTP 需要先配置Server,再生成webservice 2011-06-03 18:46 | zf
太感谢了!救了我一命呵~  回复  更多评论
  
# re: IWAB0014E Unexpected exception occured 该死的问题,就是因为Eclipse + WTP 需要先配置Server,再生成webservice 2012-10-08 17:22 | Small Ying
不错,解决问题了!   回复  更多评论
  

只有注册用户登录后才能发表评论。


网站导航: