永发信息网

An error has occurred.See the log file

答案:3  悬赏:50  手机版
解决时间 2021-03-20 18:37
  • 提问者网友:十年饮冰
  • 2021-03-20 03:23
An error has occurred.See the log file
最佳答案
  • 五星知识达人网友:傲气稳了全场
  • 2021-03-20 04:00

这提示很清楚
Found components with duplicated names

找到名字冲突的两个组件
一个是org.eclipse.equinox.event文件是org.eclipse.equinox.event_1.2.200.v20120522-2049

一个是org.eclipse.equinox.event文件是org.eclipse.equinox.event_1.3.0.v20130327-1442

在eclipse/plugins目录下,删掉其中一个,就可以解决这个问题

我个人感觉更改这些东西一般都是eclipse的升级,

你可以备份一下,这两个文件,先留高版本,删掉低版本
如果启动有问题就把低版本换回来

!ENTRY org.eclipse.osgi 4 0 2013-01-08 10:14:45.387
!MESSAGE Application error
!STACK 1
java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini).
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:74)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
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.equinox.launcher.Main.invokeFramework(Main.java:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)

全部回答
  • 1楼网友:走死在岁月里
  • 2021-03-20 05:11
方法1. 在"开始"-->"运行"---->打入"cmd"进入命令提示行后,再进入eclipse的安装目录,  然后输入eclipse -clean即可(我用的这个方法 成功了)  方法2.  删除configuration文件夹里除config.ini以外的所有文件,重启Eclipse
  • 2楼网友:怙棘
  • 2021-03-20 04:53
这个问题我也遇到过,在网上找了许久,都没有找到答案,后来在官网上试了一下他们提供的方法:
4550 and 4698] Install fails to complete and JBuilder fails to launch with a JVM error,
Cannot reserve more then 1136mb of memory for JBuilder on certain machine configurations.
Workaround: This is a 2-step workaround.
Edit the file JBuilder.ini in the root of the JBuilder install directory and add the parameter:
-vm jre\jre\bin\javaw.exe
Run JBuilder_Home/reset_Jbuilder.bat
Reference: https://bugs.eclipse.org/bugs/show_bug.cgi?id=188968.

具体的操作是,打开安装目录里的JBuilder.ini文件,在里面添加一行参数,我是添加到最后面,不知道放在最前面行不行.
然后再运行一下安装目录里的reset_Jbuilder.bat 文件,会弹出一个CMD窗口,需要等待几分钟,它自动关闭.就可以啦.
然后再建个JBuilder.exe的快捷方式,在里面添加参数 -clean 有些像Eclipse的快捷方式.

后面蓝色的网址是这个问题的参考文档,指向的是eclipse的一个文档,说明这个问题的出现,跟eclipse有关,而且跟电脑的
内存大小有很大关系.
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯