问题
Just installed Eclipse Luna (4.4 Standard). From Help menu, installed Aptana plugin. After restarting the IDE, I get the following error:
An internal error occurred during: "Enable debugging and flush log cache". org/eclipse/osgi/framework/internal/core/FrameworkProperties
It seems the environment works properly, but I get the error every time I open the program.
Here is the log:
!MESSAGE An internal error occurred during: "Enable debugging and flush log cache". !STACK 0 java.lang.NoClassDefFoundError: org/eclipse/osgi/framework/internal/core/FrameworkProperties at com.aptana.core.util.EclipseUtil.setPlatformDebugging(EclipseUtil.java:449) at com.aptana.core.CorePlugin.enableDebugging(CorePlugin.java:110) at com.aptana.core.CorePlugin.access$0(CorePlugin.java:97) at com.aptana.core.CorePlugin$1.run(CorePlugin.java:83) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53) Caused by: java.lang.ClassNotFoundException: org.eclipse.osgi.framework.internal.core.FrameworkProperties cannot be found by osgi.identity; osgi.identity="com.aptana.core"; type="osgi.bundle"; version:Version="3.3.0.1373665087"; singleton:="true" at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:406) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:326) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:318) at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:118) at java.lang.ClassLoader.loadClass(Unknown Source) ... 5 more
How can I solve this error?
回答1:
Development version of Aptana plugin seems to work fine with Eclipse Luna. Use this link for installation instead of stable one:
http://studio-jenkins.appcelerator.org/job/studio3-feature-development/lastSuccessfulBuild/artifact/dist/
Use it with Eclipse Luna Standard Edition instead of Eclipse Luna for PHP developers. After installation switch to a Web perspective and configure as you need.
回答2:
Only try update the plugin Aptana from Eclipse. Restart the IDE eclipse and it should work.
回答3:
Did you check that Aptana is compatible with Eclipse 4.4? I suspect it is not, especially since 4.4 is still about 8 months from being released.
回答4:
copy http://download.aptana.com/studio3/plugin/install
From the Help menu, select Install New Software... to open the Install New Software dialog. Paste the URL for the update site into the Work With text box, and hit the Enter (or Return) key. In the populated table below, check the box next to the name of the plug-in, and then click the Next button. Click the Next button to go to the license page. Choose the option to accept the terms of the license agreement, and click the Finish button. You may need to restart Eclipse to continue.
来源:https://stackoverflow.com/questions/19672609/eclipse-4-4-standard-startup-error