简体   繁体   English

Eclipse无法正常运行

[英]Eclipse cant run properly

Hi everyone here i having some problems with my Eclipse IDE for Java EE Developers. 大家好,我在Java EE开发人员的Eclipse IDE中遇到一些问题。 I´m using Ubuntu 17.10 Today i was learning how to create a web application with java everything was going nice still i tried to open a jsp class that couldn´t be displayed so i decided to restart my IDE but now it allways say me this: 我正在使用Ubuntu 17.10,今天我正在学习如何使用Java创建Web应用程序,一切仍然很好,我试图打开一个无法显示的jsp类,所以我决定重新启动IDE,但现在它总是说这:

在此处输入图片说明

And this is the .log 这是.log

    !ENTRY org.springframework.ide.eclipse.beans.core 4 0 2018-01-19 18:32:46.730
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Exception in org.springframework.ide.eclipse.beans.core.BeansCorePlugin.stop() of bundle org.springframework.ide.eclipse.beans.core.
    at org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:855)
    at org.eclipse.osgi.internal.framework.EquinoxBundle.stopWorker0(EquinoxBundle.java:947)
    at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.stopWorker(EquinoxBundle.java:314)
    at org.eclipse.osgi.container.Module.doStop(Module.java:636)
    at org.eclipse.osgi.container.Module.stop(Module.java:498)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.decStartLevel(ModuleContainer.java:1675)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1594)
    at org.eclipse.osgi.container.SystemModule.stopWorker(SystemModule.java:270)
    at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule.stopWorker(EquinoxBundle.java:147)
    at org.eclipse.osgi.container.Module.doStop(Module.java:636)
    at org.eclipse.osgi.container.Module.stop(Module.java:498)
    at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:202)
    at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:165)
    at java.lang.Thread.run(Thread.java:748)
Caused by: org.eclipse.core.runtime.AssertionFailedException: null argument:
    at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:85)
    at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:73)
    at org.eclipse.core.internal.events.ResourceChangeListenerList.remove(ResourceChangeListenerList.java:146)
    at org.eclipse.core.internal.events.NotificationManager.removeListener(NotificationManager.java:313)
    at org.eclipse.core.internal.resources.Workspace.removeResourceChangeListener(Workspace.java:2206)
    at org.springframework.ide.eclipse.beans.core.internal.model.BeansModel.stop(BeansModel.java:189)
    at org.springframework.ide.eclipse.beans.core.BeansCorePlugin.stop(BeansCorePlugin.java:213)
    at org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:835)
    at org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:1)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:828)
    ... 13 more
Root exception:
org.eclipse.core.runtime.AssertionFailedException: null argument:
    at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:85)
    at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:73)
    at org.eclipse.core.internal.events.ResourceChangeListenerList.remove(ResourceChangeListenerList.java:146)
    at org.eclipse.core.internal.events.NotificationManager.removeListener(NotificationManager.java:313)
    at org.eclipse.core.internal.resources.Workspace.removeResourceChangeListener(Workspace.java:2206)
    at org.springframework.ide.eclipse.beans.core.internal.model.BeansModel.stop(BeansModel.java:189)
    at org.springframework.ide.eclipse.beans.core.BeansCorePlugin.stop(BeansCorePlugin.java:213)
    at org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:835)
    at org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:1)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:828)
    at org.eclipse.osgi.internal.framework.EquinoxBundle.stopWorker0(EquinoxBundle.java:947)
    at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.stopWorker(EquinoxBundle.java:314)
    at org.eclipse.osgi.container.Module.doStop(Module.java:636)
    at org.eclipse.osgi.container.Module.stop(Module.java:498)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.decStartLevel(ModuleContainer.java:1675)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1594)
    at org.eclipse.osgi.container.SystemModule.stopWorker(SystemModule.java:270)
    at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule.stopWorker(EquinoxBundle.java:147)
    at org.eclipse.osgi.container.Module.doStop(Module.java:636)
    at org.eclipse.osgi.container.Module.stop(Module.java:498)
    at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:202)
    at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:165)
    at java.lang.Thread.run(Thread.java:748)

1.I really dont know what is happening,i read in the .log something about Spring framework but i didn´t used it already and i have installed the framework last year. 1.我真的不知道发生了什么,我在.log中阅读了一些有关Spring框架的信息,但是我还没有使用过它,因此我去年就安装了该框架。

2.And if you can help me with some tips to learn spring and hibernate you are welcome. 2.如果您可以通过一些技巧帮助我学习春季和冬眠,欢迎您。

I had this same issue. 我有同样的问题。

  1. Delete everything to do with Eclipse, then 删除所有与Eclipse有关的内容,然后
  2. install it again and make sure it is the 32bit launcher. 再次安装它,并确保它是32位启动器。 64bit processors can run 32 bit programs so this will cover that. 64位处理器可以运行32位程序,因此可以解决这一问题。
  3. Make sure you have the latest JDK downloaded BEFORE installing Eclipse. 在安装Eclipse之前,请确保已下载了最新的JDK。

I know it shouldn't matter, but this cleared it up for me. 我知道没关系,但这为我清除了它。

All of these errors seem to be coming from Eclipse itself. 所有这些错误似乎都来自Eclipse本身。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM