Skocz do zawartości

Problem Z Eclipse


MitS

Rekomendowane odpowiedzi

Witam serdecznie,

 

mam ogromny problem ... jestem w trakcie tworzenia dość dużego projektu w

firmie no i napotkałem problem z eclipse... (jeszcze wczoraj wszystko

normalnie działało). Otóż gdy uruchamiam aplikację i wybieram po lewej stronie

plik z projektu, który chcę edytować to pokazuje mi się okienko:

 

23122007185511go7.th.jpg

 

tak się dzieje gdy korzystam z plików php'owych (jak otwieram jakiś css lub .htaccess to jest ok).

details pokazuje mi:

 

java.lang.NoClassDefFoundError: net.sourceforge.phpeclipse.phpeditor.PHPEditor
  at java.lang.Class.initializeClass(libgcj.so.8rh)
  at java.lang.Class.initializeClass(libgcj.so.8rh)
  at java.lang.Class.newInstance(libgcj.so.8rh)
  at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExt
ension(org.eclipse.equinox.registry_3.3.0.v20070522.jar.so)
  at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(o
rg.eclipse.equinox.registry_3.3.0.v20070522.jar.so)
  at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtensio
n(org.eclipse.equinox.registry_3.3.0.v20070522.jar.so)
  at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableEx
tension(org.eclipse.equinox.registry_3.3.0.v20070522.jar.so)
  at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(org.eclipse.ui.workbench
_3.3.0.I20070608-1100.jar.so)
  at org.eclipse.ui.internal.registry.EditorDescriptor.createEditor(org.eclipse.ui.wo
rkbench_3.3.0.I20070608-1100.jar.so)
  at org.eclipse.ui.internal.EditorManager.createPart(org.eclipse.ui.workbench_3.3.0.
I20070608-1100.jar.so)
  at org.eclipse.ui.internal.EditorReference.createPartHelper(org.eclipse.ui.workbenc
h_3.3.0.I20070608-1100.jar.so)
  at org.eclipse.ui.internal.EditorReference.createPart(org.eclipse.ui.workbench_3.3.
0.I20070608-1100.jar.so)
  at org.eclipse.ui.internal.WorkbenchPartReference.getPart(org.eclipse.ui.workbench_
3.3.0.I20070608-1100.jar.so)
  at org.eclipse.ui.internal.EditorReference.getEditor(org.eclipse.ui.workbench_3.3.0
.I20070608-1100.jar.so)
  at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(org.eclipse.ui.workb
ench_3.3.0.I20070608-1100.jar.so)
  at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(org.eclipse.ui.workbench_3.
3.0.I20070608-1100.jar.so)
  at org.eclipse.ui.internal.WorkbenchPage.access$12(org.eclipse.ui.workbench_3.3.0.I20070608-1100.jar.so)
  at org.eclipse.ui.internal.WorkbenchPage$10.run(org.eclipse.ui.workbench_3.3.0.I20070608-1100.jar.so)
  at org.eclipse.swt.custom.BusyIndicator.showWhile(org.eclipse.swt.gtk.linux.x86_3.3
.0.v3346.jar.so)
  at org.eclipse.ui.internal.WorkbenchPage.openEditor(org.eclipse.ui.workbench_3.3.0.
I20070608-1100.jar.so)
  at org.eclipse.ui.internal.WorkbenchPage.openEditor(org.eclipse.ui.workbench_3.3.0.
I20070608-1100.jar.so)
  at org.eclipse.ui.internal.WorkbenchPage.openEditor(org.eclipse.ui.workbench_3.3.0.
I20070608-1100.jar.so)
  at org.eclipse.ui.ide.IDE.openEditor(IDE.java:644)
  at org.eclipse.ui.ide.IDE.openEditor(IDE.java:603)
  at org.eclipse.ui.actions.OpenFileAction.openFile(OpenFileAction.java:98)
  at org.eclipse.ui.actions.OpenSystemEditorAction.run(OpenSystemEditorAction.java:98
)
  at org.eclipse.ui.views.navigator.OpenActionGroup.runDefaultAction(OpenActionGroup.
java:125)
  at org.eclipse.ui.views.navigator.MainActionGroup.runDefaultAction(MainActionGroup.
java:328)
  at org.eclipse.ui.views.navigator.ResourceNavigator.handleOpen(ResourceNavigator.ja
va:694)
  at org.eclipse.ui.views.navigator.ResourceNavigator$6.open(ResourceNavigator.java:437)
  at org.eclipse.jface.viewers.StructuredViewer$2.run(org.eclipse.jface_3.3.0.I20070606-0010.jar.so)
  at org.eclipse.core.runtime.SafeRunner.run(org.eclipse.equinox.common_3.3.0.v200704
26.jar.so)
  at org.eclipse.core.runtime.Platform.run(org.eclipse.core.runtime_3.3.100.v20070530
.jar.so)
  at org.eclipse.ui.internal.JFaceUtil$1.run(org.eclipse.ui.workbench_3.3.0.I20070608-1100.jar.so)
  at org.eclipse.jface.util.SafeRunnable.run(org.eclipse.jface_3.3.0.I20070606-0010.jar.so)
  at org.eclipse.jface.viewers.StructuredViewer.fireOpen(org.eclipse.jface_3.3.0.I200
70606-0010.jar.so)
  at org.eclipse.jface.viewers.StructuredViewer.handleOpen(org.eclipse.jface_3.3.0.I2
0070606-0010.jar.so)
  at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(org.eclipse.jface_3.3.0.I20070606-0010.jar.so)
  at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(org.eclipse.jface_3.3.0.I20070
606-0010.jar.so)
  at org.eclipse.jface.util.OpenStrategy.access$2(org.eclipse.jface_3.3.0.I20070606-0010.jar.so)
  at org.eclipse.jface.util.OpenStrategy$1.handleEvent(org.eclipse.jface_3.3.0.I20070606-0010.jar.so)
  at org.eclipse.swt.widgets.EventTable.sendEvent(org.eclipse.swt.gtk.linux.x86_3.3.0
.v3346.jar.so)
  at org.eclipse.swt.widgets.Widget.sendEvent(org.eclipse.swt.gtk.linux.x86_3.3.0.v33
46.jar.so)
  at org.eclipse.swt.widgets.Display.runDeferredEvents(org.eclipse.swt.gtk.linux.x86_
3.3.0.v3346.jar.so)
  at org.eclipse.swt.widgets.Display.readAndDispatch(org.eclipse.swt.gtk.linux.x86_3.
3.0.v3346.jar.so)
  at org.eclipse.ui.internal.Workbench.runEventLoop(org.eclipse.ui.workbench_3.3.0.I2
0070608-1100.jar.so)
  at org.eclipse.ui.internal.Workbench.runUI(org.eclipse.ui.workbench_3.3.0.I20070608-1100.jar.so)
  at org.eclipse.ui.internal.Workbench.access$4(org.eclipse.ui.workbench_3.3.0.I20070608-1100.jar.so)
  at org.eclipse.ui.internal.Workbench$4.run(org.eclipse.ui.workbench_3.3.0.I20070608-1100.jar.so)
  at org.eclipse.core.databinding.observable.Realm.runWithDefault(org.eclipse.core.da
tabinding_1.0.0.I20070606-0010.jar.so)
  at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(org.eclipse.ui.workbench
_3.3.0.I20070608-1100.jar.so)
  at org.eclipse.ui.PlatformUI.createAndRunWorkbench(org.eclipse.ui.workbench_3.3.0.I
20070608-1100.jar.so)
  at org.eclipse.ui.internal.ide.application.IDEApplication.start(org.eclipse.ui.ide.
application_1.0.0.I20070530-0100.jar.so)
  at org.eclipse.equinox.internal.app.EclipseAppHandle.run(org.eclipse.equinox.app_1.
0.0.v20070606.jar.so)
  at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(org.
eclipse.osgi_3.3.0.v20070530.jar.so)
  at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(org.eclipse.o
sgi_3.3.0.v20070530.jar.so)
  at org.eclipse.core.runtime.adaptor.EclipseStarter.run(org.eclipse.osgi_3.3.0.v2007
0530.jar.so)
  at org.eclipse.core.runtime.adaptor.EclipseStarter.run(org.eclipse.osgi_3.3.0.v2007
0530.jar.so)
  at java.lang.reflect.Method.invoke(libgcj.so.8rh)
  at org.eclipse.equinox.launcher.Main.invokeFramework(org.eclipse.equinox.launcher_1
.0.0.v20070606.jar.so)
  at org.eclipse.equinox.launcher.Main.basicRun(org.eclipse.equinox.launcher_1.0.0.v2
0070606.jar.so)
  at org.eclipse.equinox.launcher.Main.run(org.eclipse.equinox.launcher_1.0.0.v200706
06.jar.so)
  at org.eclipse.equinox.launcher.Main.main(org.eclipse.equinox.launcher_1.0.0.v20070
606.jar.so)
Caused by: java.lang.ClassNotFoundException: net.sourceforge.phpdt.internal.ui.text.java.JavaExpandHover
  at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(org.ecli
pse.osgi_3.3.0.v20070530.jar.so)
  at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(org.eclipse.osgi
_3.3.0.v20070530.jar.so)
  at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(org.eclipse.osgi
_3.3.0.v20070530.jar.so)
  at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(org.eclipse.o
sgi_3.3.0.v20070530.jar.so)
  at java.lang.ClassLoader.loadClass(libgcj.so.8rh)
  at java.lang.Class.forName(libgcj.so.8rh)
  at java.lang.Class.initializeClass(libgcj.so.8rh)
  ...62 more

 

próbowałem odinstalować i zainstalować ponownie eclipse .... niesttey nic nie zmieniło ...

Przeinstalowałem też całą jdk* - równierz żadnych efektów

 

Korzystam z Eclipse:

Fedora Eclipse Platform

Version: 3.3.0

Based on build id: I20070625-1500

 

System:

Fedora 8 Linux ozyrys 2.6.23.8-63.fc8 #1 SMP Wed Nov 21 18:51:08 EST 2007 i686 i686 i386 GNU/Linux

 

Co mam zrobić by ruszyło ??

Odnośnik do komentarza
Udostępnij na innych stronach

spróbuj na easyeclipse nie trzeba instalować tylko rozpakowujesz i działa (tylko bekapa projektu zróB) ja tak miałem jak coś kombinowałem z wtyczkami własnie do php albo j2ee i do tej pory eclipse fedora nie działa a w easyeclipse jest ok tu masz linka :

http://www.easyeclipse.org/site/distributions/index.html

 

szacun

Odnośnik do komentarza
Udostępnij na innych stronach

a mam pytanie te easyeclipse ma wszystkie svn, opcje cpp, php (by w jednym programie móc tworzyc projekty C++ i np. php), możliwość sftp itp ??

 

oki rozwiązałem problem ...

wystarczyło usunąć katalog .eclipse z folderu domowego.

 

Pozdrawiam

Odnośnik do komentarza
Udostępnij na innych stronach

Gość
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
×
×
  • Dodaj nową pozycję...