2017-11-14 15 views
0

play/maven 프로젝트가 작업 영역에있을 때 my eclipse ide 또는 scala ide가 충돌하는 시나리오는 두 가지입니다./스칼라 그것을 IDE 이클립스의 재부팅시Eclipse Oxygen 및 Scala IDE 4.7이 재생 프레임 워크 2.6.6의 프로젝트와 충돌합니다.

는 말한다 : 여기

이 문제입니다. "있는 오류가 발생했습니다 로그 파일 /.metadata/.log 참조" 여기

는 해당 로그의 내용입니다 파일 :

!ENTRY org.eclipse.mylyn.tasks.ui 4 0 2017-11-14 12:05:24.743 
!MESSAGE FrameworkEvent ERROR 
!STACK 0 
org.osgi.framework.BundleException: Exception in org.eclipse.mylyn.internal.tasks.ui.TasksUiPlugin.stop() of bundle org.eclipse.mylyn.tasks.ui. 
    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:745) 
Caused by: java.lang.ExceptionInInitializerError 
    at org.eclipse.mylyn.internal.tasks.ui.TasksUiPlugin.stop(TasksUiPlugin.java:816) 
    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 
Caused by: org.eclipse.swt.SWTException: Invalid thread access 
    at org.eclipse.swt.SWT.error(SWT.java:4533) 
    at org.eclipse.swt.SWT.error(SWT.java:4448) 
    at org.eclipse.swt.SWT.error(SWT.java:4419) 
    at org.eclipse.swt.widgets.Display.error(Display.java:1089) 
    at org.eclipse.swt.widgets.Display.createDisplay(Display.java:840) 
    at org.eclipse.swt.widgets.Display.create(Display.java:823) 
    at org.eclipse.swt.graphics.Device.<init>(Device.java:129) 
    at org.eclipse.swt.widgets.Display.<init>(Display.java:722) 
    at org.eclipse.swt.widgets.Display.<init>(Display.java:713) 
    at org.eclipse.swt.widgets.Display.getDefault(Display.java:1419) 
    at org.eclipse.mylyn.commons.ui.compatibility.CommonColors.<clinit>(CommonColors.java:28) 
    ... 18 more 
Root exception: 
java.lang.ExceptionInInitializerError 
    at org.eclipse.mylyn.internal.tasks.ui.TasksUiPlugin.stop(TasksUiPlugin.java:816) 
    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:745) 
Caused by: org.eclipse.swt.SWTException: Invalid thread access 
    at org.eclipse.swt.SWT.error(SWT.java:4533) 
    at org.eclipse.swt.SWT.error(SWT.java:4448) 
    at org.eclipse.swt.SWT.error(SWT.java:4419) 
    at org.eclipse.swt.widgets.Display.error(Display.java:1089) 
    at org.eclipse.swt.widgets.Display.createDisplay(Display.java:840) 
    at org.eclipse.swt.widgets.Display.create(Display.java:823) 
    at org.eclipse.swt.graphics.Device.<init>(Device.java:129) 
    at org.eclipse.swt.widgets.Display.<init>(Display.java:722) 
    at org.eclipse.swt.widgets.Display.<init>(Display.java:713) 
    at org.eclipse.swt.widgets.Display.getDefault(Display.java:1419) 
    at org.eclipse.mylyn.commons.ui.compatibility.CommonColors.<clinit>(CommonColors.java:28) 
    ... 18 more 

나는 스칼라 IDE 4.7을 설치 ScalaIDE 이클립스

1) 모두를 테스트했다. 기존 play/maven 프로젝트를 가져옵니다. IDE 오류 로그에 스칼라 컴파일러 오류가 있음을 알립니다. 다시 시작하면 Eclipse가 동일한 작업 영역으로 부팅 할 수 없음을 알 수 있습니다. 다른 작업 공간으로 부팅 할 수 있습니다. play-maven 프로젝트에서 모든 Eclipse 파일 (.settings, .classpath, .project)을 제거하더라도 충돌이 발생합니다. 오직 작업 공간에서 .metadata를 제거하고 프로젝트를 다시 가져 오는 것입니다. 그러나 다음 재시동 후에 문제가 다시 발생합니다.

2) Eclipse Oxygen을 설치하십시오. 기존 play/maven 프로젝트를 가져옵니다. eclipse를 재시작해야하는 Scala IDE 4.7 플러그인을 설치하십시오. 다시 시작하면 해당 작업 영역에서 충돌합니다. 동일한 해결 방법은 1.

PS - 위에서 언급했듯이 play-maven 프로젝트가없는 다른 작업 공간을 선택하면 eclipse/scala-id가 잘 시작됩니다.

다른 세부 정보를 공유해야하는지 알려주세요.

답변

0

"일식 산소 설치"가 무슨 뜻인지 모르겠지만이 종류의 문제가 발생하면 여기에서 http://scala-ide.org/download/sdk.html으로 스칼라 IDE를 다운로드하고 압축을 푸는 것이 더 좋습니다. 도움이 되었으면 좋겠다

+0

일식 산소는 이클립스의 최신 버전이다. 내 설명에서 1)을 읽으면, 내가 이미 scalaIde 4.7을 직접 사용해 본 것을 알게 될 것이다. – nir