2014-09-11 3 views
1

Eclipse IDE (웹 개발자 용 Eclipse Java EE IDE 버전 : Luna Service Release 1 (4.4.1))가 있습니다. eclipe 마켓 플레이스를 통해 Eclipse 버전 3.0.x 용 Scala IDE가 설치되었습니다. 그러나 저는 scala 프로젝트를 만들 수 없습니다, New -> project -> scala 옵션은 없습니다. 내 로컬 컴퓨터에 scala 2.11 및 sbt가 있고 scala가 명령 프롬프트에서 작동합니다. 그 일식 최신 버전의 문제인가요?Eclipse에서 스칼라 프로젝트를 만들 수 없습니다.

답변

1

나도!

org.osgi.framework.BundleException: Could not resolve module: org.scala-ide.sdt.core [852] 
Bundle was not resolved because of a uses contraint violation. 
org.osgi.service.resolver.ResolutionException: Uses constraint violation. Unable to resolve resource org.scala-ide.sdt.core [osgi.identity; osgi.identity="org.scala-ide.sdt.core"; type="osgi.bundle"; version:Version="4.0.0.m3-2_11-201407241647-33f4f20"; singleton:="true"] because it is exposed to package 'javax.xml.bind' from resources org.eclipse.osgi [osgi.identity; osgi.identity="org.eclipse.osgi"; type="osgi.bundle"; version:Version="3.10.0.v20140606-1445"; singleton:="true"] and javax.xml.bind [osgi.identity; osgi.identity="javax.xml.bind"; type="osgi.bundle"; version:Version="2.1.9.v201005080401"] via two dependency chains. 

conversation in the Scala-IDE google groupEclipse bug 430458에지도 검색하는 비트 : 이클립스 오류 로그 (이클립스 작업 공간/.metadata/.plugins/org.eclipse.ui.workbench/로그)에서 나는 다음을 참조하십시오.

해결 방법은 eclipse.ini 파일의 맨 위에 -clean을 추가하여 종속성이 해결 된 순서를 변경합니다.

보너스 팁 : eclipse.ini를 열어 놓은 상태에서 JVM 최대 힙 크기를 1024m로 늘리십시오.

+0

Eclipse Luna 버전이 스칼라 IDE를 전혀 지원하지 않는다고 생각합니다. 당신은 그것에 대해 어떤 생각을 가지고 있습니까? – user3366706

+1

현재 Eclipse 4.4 (Luna)에서 작동하는 마일스톤 릴리즈가 있습니다 (2014 년 9 월) : http://scala-ide.org/download/milestone.html#scala-ide-400-milestone-2 – cbare