Nice programing

Eclipse가 시작되지 않지만 오류가 표시되지 않습니다.

nicepro 2020. 12. 27. 20:47
반응형

Eclipse가 시작되지 않지만 오류가 표시되지 않습니다.


내 Eclipse가 시작되지 않는 이유를 아십니까?

eclipse.ini다음이 있습니다 :

-startup plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
--launcher.library plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.0.v20100503
-product org.eclipse.epp.package.jee.product
--launcher.defaultAction openFile
--launcher.XXMaxPermSize 256M
-showsplash org.eclipse.platform
--launcher.XXMaxPermSize 256m
--launcher.defaultAction openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m

작업 공간 로그 파일의 오류 로그에 다음이 표시됩니다.

! ENTRY org.eclipse.core.resources 2 10035 2011-10-21 12 : 03 : 18.134! MESSAGE 작업 공간이 이전 세션에서 저장되지 않은 변경 사항으로 종료되었습니다. 변경 사항을 복구하기 위해 작업 공간을 새로 고칩니다.

! ENTRY org.eclipse.osgi 4 0 2011-10-21 12 : 03 : 19.447! MESSAGE 번들 org.eclipse.core.resources (68)를 자동으로 활성화하는 동안 오류가 발생했습니다. ! STACK 0 org.osgi.framework.BundleException : org.eclipse.core.resources 번들의 org.eclipse.core.resources.ResourcesPlugin.start () 예외입니다. org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator (BundleContextImpl.java:806) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start (BundleContextImpl.java:755) at org.eclipse .osgi.framework.internal.core.BundleHost.startWorker (BundleHost.java:370) at org.eclipse.osgi.framework.internal.core.AbstractBundle.start (AbstractBundle.java:284) at org.eclipse.osgi.framework .util.SecureAction.start (SecureAction.java:417) at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger (BundleLoader.java:265) at org.eclipse.core. org.eclipse의 org.eclipse.equinox.launcher.Main.run (Main.java:1407)의 org.eclipse.equinox.launcher.Main.basicRun (Main.java:574)에서 invokeFramework (Main.java:619) .equinox.launcher.Main.main (Main.java:1383) 원인 : org.eclipse.core.internal.dtree.ObjectNotFoundException : 트리 요소 '/webtop/.classpath'를 찾을 수 없습니다. org.eclipse.core.internal.dtree.AbstractDataTree.handleNotFound (AbstractDataTree.java:257) at org.eclipse.core.internal.dtree.DeltaDataTree.getData (DeltaDataTree.java:585) at org.eclipse.core.internal .dtree.DataDeltaNode.asBackwardDelta (DataDeltaNode.java:50) at org.eclipse.core.internal.dtree.DataDeltaNode.asBackwardDelta (DataDeltaNode.java:47) at org.eclipse.core.internal.dtree.DataDeltaNode.asBackwardDelta (DataDeltaNode.asBackwardDelta (DataDeltaNode.asBackwardDelta) .java : 47) at org.eclipse.core.internal.dtree.DeltaDataTree.asBackwardDelta (DeltaDataTree.java : BundleContextImpl $ 1.run (BundleContextImpl.java:783) at java.security.AccessController.doPrivileged (Native Method) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator (BundleContextImpl.java:774) ... 29 more 루트 예외 : org.eclipse.core.internal.dtree.ObjectNotFoundException : 트리 요소 '/webtop/.classpath'를 찾을 수 없습니다. org.eclipse.core.internal.dtree.AbstractDataTree.handleNotFound (AbstractDataTree.java:257) at org.eclipse.core.internal.dtree.DeltaDataTree.getData (DeltaDataTree.java:585) at org.eclipse.core.internal .dtree.DataDeltaNode.asBackwardDelta (DataDeltaNode.java:50) at org.eclipse.core.internal.dtree.DataDeltaNode.asBackwardDelta (DataDeltaNode.java:47) at org.eclipse.core.internal.dtree.DataDeltaNode.asBackwardDelta (DataDeltaNode.asBackwardDelta (DataDeltaNode.asBackwardDelta) .java : 47) at org.eclipse.core.internal.dtree.DeltaDataTree.

org.eclipse.equinox.launcher.Main.invokeFramework (Main.java:619)의 java.lang.reflect.Method.invoke (Unknown Source)의 DelegatingMethodAccessorImpl.invoke (Unknown Source) at org.eclipse.equinox.launcher.Main .basicRun (Main.java:574) at org.eclipse.equinox.launcher.Main.run (Main.java:1407) at org.eclipse.equinox.launcher.Main.main (Main.java:1383) 원인 : org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter $ TerminatingClassNotFoundException : 번들 org.eclipse.core.resources (68)를 자동으로 활성화하는 중에 오류가 발생했습니다. org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass (EclipseLazyStarter.java:121) at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass (ClasspathManager.java:453) at org.eclipse.osgi .internal.baseadaptor.DefaultClassLoader.findLocalClass (DefaultClassLoader.java : org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass (BundleLoader.java:393) at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass (SingleSourcePackage.java:33) at org.eclipse.osgi .internal.loader.BundleLoader.findClassInternal (BundleLoader.java:466) at org.eclipse.osgi.internal.loader.BundleLoader.findClass (BundleLoader.java:422) at org.eclipse.osgi.internal.loader.BundleLoader.findClass (BundleLoader.java:410) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass (DefaultClassLoader.java:107) at java.lang.ClassLoader.loadClass (Unknown Source) ... 14 more 원인 : org. osgi.framework.BundleException : org.eclipse.core.resources 번들의 org.eclipse.core.resources.ResourcesPlugin.start ()에서 예외가 발생했습니다. org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator (BundleContextImpl.java : 806) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start (BundleContextImpl.java:755) at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker (BundleHost.java:370) at org .eclipse.osgi.framework.internal.core.AbstractBundle.start (AbstractBundle.java:284) at org.eclipse.osgi.framework.util.SecureAction.start (SecureAction.java:417) at org.eclipse.osgi.internal .loader.BundleLoader.setLazyTrigger (BundleLoader.java:265) at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass (EclipseLazyStarter.java:106) ... 23 more 원인 : org.eclipse.core. internal.dtree.ObjectNotFoundException : 트리 요소 '/webtop/.classpath'를 찾을 수 없습니다. org.eclipse.core.internal.dtree.AbstractDataTree.handleNotFound (AbstractDataTree.java:257) at org.eclipse.core.internal.dtree.DeltaDataTree.getData (DeltaDataTree.java :


작업 공간을 복원하려고 할 때 실패한 것 같습니다.

시험:

  1. 새 작업 공간을 엽니 다. 기본값을 사용하도록 설정된 경우로 이동 하여 true로 <Eclipse_root_dir>\configuration\.settings\org.eclipse.ui.ide.prefs설정하십시오.SHOW_WORKSPACE_SELECTION_DIALOG

  2. 삭제 해보세요 <workspace>/.metadata/.plugins/org.eclipse.core.resources/.snap

  3. 댓글에서 제안한대로 : Eclipse 4를 사용하는 경우 파일도 삭제해야 할 수 있습니다 .metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi.


이것은 내 해결책입니다.

  • 내부에있는 .snap 파일을 삭제합니다 .

    <workspace>/.metadata/.plugins/org.eclipse.core.resources/

  • 다음 파일에있는 workbench.xmi를 삭제합니다 .

    <workspace>.metadata/.plugins/org.eclipse.e4.workbench/

그러면 Eclipse에 액세스하는 데 문제가 없습니다.

내 이전 솔루션 :

이 문제는 주로 손상된 작업 공간으로 인해 발생 합니다. 새로 만들기를 선택 workspace했지만 프로젝트가 연결되어 Subversion있었기 때문에 동일한 프로젝트를 원본 안에 우선적으로 보관해야했기 때문에 workspace이제 솔루션을 공개하고 싶습니다.

workspace폴더 안에있는 .metadata모든 파일을 삭제합니다.

여기에 이미지 설명 입력

그런 다음 프로젝트를 다시 가져옵니다 File-> Import->Existing Projects into Workspace

여기에 이미지 설명 입력


.metadata작업 공간에있는 디렉토리. 그 안에는 이름이 지정된 파일 .log이 있습니다. 시작 프로세스가 아주 일찍 실패하지 않으면 유용한 오류 메시지가 포함되어야합니다.


나는 창에서 나쁜 충돌 후 이클립스를 시작할 수 없다는 것과 같은 문제가 있었고 작업 공간 설정을 삭제해도 도움이되지 않았습니다. Eclipse를 다시 설치해도 도움이되지 않았습니다. Java를 제거하고 설치해야했고 Eclipse를 다시 실행할 수있었습니다.


나는 제거를 시도했다

org.eclipse.core.resources 안전한 테이블에서 eclipse를 다시 시작하면 모든 구성을 볼 수 있지만 가져와야 할 수있는 프로젝트를 볼 수 없습니다.

org.eclipse.core.resources안전한 테이블에서 잘라

Restart Eclipse then copy back your the org.eclipse.core.resources

and then restart.(but you have to import the project for sure, ) from C:\Workspace_BR-12-Q3-MPSERS-REFORM\.metadata\.plugins\org.eclipse.core.resources\.safetable

This seems lie it will happen when you have multiple trees in your workspace.


I have to re install jre and it's work!, nothing else.


Make sure you have the jdk installed. If it persists try downloading a new copy of eclipse.


Summary
Flash Builder or Eclipse won't start. This happens when it is shut down incorrectly (like when your laptop battery dies).

Solution
Delete the workspace .snap file.

Steps
First, show hidden files. You can do this by opening Terminal and setting Finder's show all files property to true. You must also restart Finder for the changes to take effect.

defaults write com.apple.Finder AppleShowAllFiles TRUE
killall Finder

Delete the Eclipse snap file. To do this navigate to your Eclipse workspace. In that directory you'll find the hidden .metadata directory. Navigate to ".metadata/.plugins/com.eclipse.core.resources/". In that directory you'll see a file called ".snap". Make sure Eclipse is closed (not open and not stuck on the splash screen). Next delete the ".snap" file.

여기에 이미지 설명 입력

Restart Eclipse. Once it is working set the hidden folders back to hidden with:

defaults write com.apple.Finder AppleShowAllFiles FALSE
killall Finder

Find your installations eclipse\configuration.settings folder

edit org.eclipse.ui.ide.prefs to show workspace=true

Create a new workspace Run eclipse again Import your project from previous workspace


Erase the old .metadata folder from the workspace and copy the new one that was created somewhere I chosen the first time.

Background: I had a similar problem and it started when I uninstalled the eclipse and installed it again, so at the first time I created a new workspace, I work without any problem, then another time I chose the old workspace, so when I tried to open it, it used the old .metadata folder.


My problem was I somehow installed 32-bit Java and screwed up my environment variables so the jdk1.7.0_10 wasn't in PATH any more. Fixed it from the accepted answer here, following the poster's screenshot.


Please make sure you have the right bit version of Java. I had 32 bit on 64 bit computer. Do verify your java version here - https://www.java.com/en/download/installed.jsp

Proved to be very handy when I installed the right version!

참조 URL : https://stackoverflow.com/questions/7847359/eclipse-wont-start-but-no-error-is-shown

반응형