永发信息网

安装myeclipse时的报错,望高手帮忙解决

答案:1  悬赏:0  手机版
解决时间 2021-04-29 05:25
  • 提问者网友:一抹荒凉废墟
  • 2021-04-28 17:37

!SESSION 2009-11-21 20:53:07.936 -----------------------------------------------
eclipse.buildId=M20080911-1700
java.version=1.6.0_16
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_CN
Framework arguments: -product com.genuitec.myeclipse.product.ide
Command-line arguments: -os win32 -ws win32 -arch x86 -product com.genuitec.myeclipse.product.ide

!ENTRY org.eclipse.equinox.app 0 0 2009-11-21 20:53:09.654
!MESSAGE Product com.genuitec.myeclipse.product.ide could not be found.

!ENTRY org.eclipse.osgi 4 0 2009-11-21 20:53:09.764
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: No application id has been found.
at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:236)
at org.eclipse.equinox.internal.app.MainApplicationLauncher.run(MainApplicationLauncher.java:29)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)

最佳答案
  • 五星知识达人网友:第四晚心情
  • 2021-04-28 18:28
主方法里面不能在定义方法
也就是不能在方法里面在定义方法
要把其他的方法定义在main方法的外面
定义成static 的可以在main 里直接使用
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯