随笔-159  评论-114  文章-7  trackbacks-0
 
我只用了1周学会了RCP,开始开发,比Swing好用多了

当我要导出到发布平台上,竟然报错!

!SESSION 2007-12-03 11:59:01.796 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_02
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=zh_CN
Command-line arguments:  -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.osgi 4 0 2007-12-03 11:59:02.718
!MESSAGE Application error
!STACK 1
org.eclipse.core.runtime.CoreException: Plug-in TD was unable to load class td.app.Application.
 at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:165)
 at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:149)
 at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:759)
 at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
 at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)
 at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:74)
 at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
 at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
 at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
 at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
 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:336)
 at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
 at org.eclipse.core.launcher.Main.run(Main.java:977)
 at org.eclipse.core.launcher.Main.main(Main.java:952)
org.eclipse.core.runtime.CoreException[1]: java.lang.ClassNotFoundException: td.app.Application
 at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:402)
 at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:347)
 at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
 at java.lang.ClassLoader.loadClass(Unknown Source)
 at org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass(BundleLoader.java:278)
 at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:227)
 at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1245)
 at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:147)
 at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:759)
 at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
 at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)
 at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:74)
 at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
 at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
 at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
 at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
 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:336)
 at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
 at org.eclipse.core.launcher.Main.run(Main.java:977)
 at org.eclipse.core.launcher.Main.main(Main.java:952)


弄到12点没有搞定,竟然难倒我这个java高手。

找死,必须干掉他。

早上想了一下,生产的plugins好像不是jar文件,只是一个目录,难道打包本身就有问题。

运行报我自己写的类找不到,明明就在同一目录阿!!!!

同一目录,一个点代表相同目录

在plugin.xml中classpath中,加入



Up到最上面就搞定了。

没有能难倒的问题!

AIX,我只用了1晚上就学会了。但往往简单的是比较难想到,细节!!!!!

posted @ 2007-12-03 12:07 北国狼人的BloG 阅读(14332) | 评论 (9)编辑 收藏

颈椎病对于编程人员来说,病的根源,就是使用笔记本!所以笔记本就是shit!!!!笔记本这种玩意就不符合人体工学!!!

如何把它的害处降到最低。需要买几个产品。


笔记本支架
http://auction1.taobao.com/auction/0/item_detail-0db1-fa0ab46717672d98db4216c7d91f92b7.jhtml

鼠标支架
http://auction1.taobao.com/auction/50008090/item_detail-0db2-b11eae3701f89240213f4099210f2384.jhtml

还有599宜家的枕头。

这三样在手, 就可以了。

不要省钱,否则就坏了身体,我之间不懂,就吃了亏。正在治疗!
posted @ 2007-10-25 14:51 北国狼人的BloG 阅读(232) | 评论 (0)编辑 收藏


你们是现在走在我前面,又上德国,又上美国,你们牛鼻。你们在前面,我才有目标阿。真好,会一个个被我赶超。

狂笑,当我笑声停止的时候,就是我不笑的时候。等着吧。

我会一个个算账。

posted @ 2007-10-12 10:39 北国狼人的BloG 阅读(278) | 评论 (0)编辑 收藏
离成功还差一步。就在这时,竟然出现黑马,中了16个一等。我操,天为什么这样玩我。

不过,我早已练就了,最好的心理素质。

跟我斗,都得死!

posted @ 2007-10-12 10:31 北国狼人的BloG 阅读(226) | 评论 (0)编辑 收藏

   希望财神关顾我!我中了大奖,就可以change life,然后选择新的开始!

posted @ 2007-09-25 14:56 北国狼人的BloG 阅读(178) | 评论 (0)编辑 收藏
     摘要: package  com.broadtext.client.widget; import  com.google.gwt.user.client.DOM; import  com.google.gwt.user.client.Element; import  com.google.gwt.user.client.ui.Compl...  阅读全文
posted @ 2006-11-13 13:40 北国狼人的BloG 阅读(524) | 评论 (0)编辑 收藏

从最近SK-II和相关的食品用品中查出有毒,会迫害中国人基因的行为看来。我们是时候站起来,真正的反日了,让日本的东西卖不出去,日本的企业赚不着钱,让日本拿不走咱们的资源!!!!SHIT JAP!!

希望每一个中国人,有点民族血性,有点民族气质!!!

posted @ 2006-09-22 22:43 北国狼人的BloG 阅读(1516) | 评论 (8)编辑 收藏

最近使用Mambo开发了一个中医药网站,后台做了一个媒体管理组件,有想要的。

留下email.

posted @ 2006-08-28 18:57 北国狼人的BloG 阅读(655) | 评论 (6)编辑 收藏
     摘要: 想起来就郁闷,这周重写了一个垃圾人的代码,也就是我这么高的高手能完成这样的艰巨的任务,在应用层代码和服务端代码都不是我自己的情况下,现分析再重写,再优化,再在周五保证无恙上线。谁也来不了!!我实在是不能不说,以下文字带有不净词语,实属我无奈,因为星期三的那天我已经接近崩溃,我不得不说,请所有学Java的人注意。开始展现:   */    public Vector getDimenionDocs(...  阅读全文
posted @ 2006-08-13 09:24 北国狼人的BloG 阅读(1160) | 评论 (8)编辑 收藏

安装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 @ 2006-08-03 09:36 北国狼人的BloG 阅读(6932) | 评论 (7)编辑 收藏
仅列出标题
共17页: First 上一页 5 6 7 8 9 10 11 12 13 下一页 Last