PDA

Visualizza Versione Completa : Prsentazione // Problema



angmgio
22-06-13, 23:58
Ciao a tutti, sono l' ultimo arrivato :o

Scrivo questo post per salutarvi e chiedere aiuto.

Ho cercato di seguire il tutorial Java, ma purtroppo ho incontrato un problema che non mi fa andare avanti neanche con Hello World.

Ho installato eclipse che funziona bene sia con python c/c++ arduino SDK, ma purtroppo Java mi da problemi
Da Error Log:

Message: Unhandled event loop exception

Exception Stack Trace:
java.lang.NoClassDefFoundError: org/eclipse/jpt/common/utility/internal/StatefulCommandExecutor
at org.eclipse.jpt.jpa.core.JptJpaCorePlugin.buildJpa ProjectManager(JptJpaCorePlugin.java:791)
at org.eclipse.jpt.jpa.core.JptJpaCorePlugin.getJpaPr ojectManager_(JptJpaCorePlugin.java:784)
at org.eclipse.jpt.jpa.core.JptJpaCorePlugin.getJpaPr ojectManager(JptJpaCorePlugin.java:248)
at org.eclipse.jpt.jpa.core.JptJpaCorePlugin.setJavaE lementChangeListenerIsActive(JptJpaCorePlugin.java :716)
at org.eclipse.jpt.jpa.ui.JptJpaUiPlugin.focusOut(Jpt JpaUiPlugin.java:210)
at org.eclipse.jpt.jpa.ui.JptJpaUiPlugin.focusIn(JptJ paUiPlugin.java:187)
at org.eclipse.jpt.jpa.ui.JptJpaUiPlugin$1.handleEven t(JptJpaUiPlugin.java:163)
at org.eclipse.swt.widgets.EventTable.sendEvent(Event Table.java:84)
at org.eclipse.swt.widgets.Display.filterEvent(Displa y.java:1531)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.ja va:1257)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.ja va:1282)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.ja va:1263)
at org.eclipse.swt.widgets.Control.sendFocusEvent(Con trol.java:3575)
at org.eclipse.swt.widgets.Control.gtk_event_after(Co ntrol.java:2938)
at org.eclipse.swt.widgets.Tree.gtk_event_after(Tree. java:1956)
at org.eclipse.swt.widgets.Widget.windowProc(Widget.j ava:1738)
at org.eclipse.swt.widgets.Control.windowProc(Control .java:5016)
at org.eclipse.swt.widgets.Tree.windowProc(Tree.java: 3530)
at org.eclipse.swt.widgets.Display.windowProc(Display .java:4408)
at org.eclipse.swt.internal.gtk.OS._gtk_widget_grab_f ocus(Native Method)
at org.eclipse.swt.internal.gtk.OS.gtk_widget_grab_fo cus(OS.java:12956)
at org.eclipse.swt.widgets.Tree.gtk_button_press_even t(Tree.java:1919)
at org.eclipse.swt.widgets.Widget.windowProc(Widget.j ava:1731)
at org.eclipse.swt.widgets.Control.windowProc(Control .java:5016)
at org.eclipse.swt.widgets.Tree.windowProc(Tree.java: 3530)
at org.eclipse.swt.widgets.Display.windowProc(Display .java:4408)
at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event (Native Method)
at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event( OS.java:8422)
at org.eclipse.swt.widgets.Display.eventProc(Display. java:1245)
at org.eclipse.swt.internal.gtk.OS._g_main_context_it eration(Native Method)
at org.eclipse.swt.internal.gtk.OS.g_main_context_ite ration(OS.java:2276)
at org.eclipse.swt.widgets.Display.readAndDispatch(Di splay.java:3207)
at org.eclipse.ui.internal.Workbench.runEventLoop(Wor kbench.java:2701)
at org.eclipse.ui.internal.Workbench.runUI(Workbench. java:2665)
at org.eclipse.ui.internal.Workbench.access$4(Workben ch.java:2499)
at org.eclipse.ui.internal.Workbench$7.run(Workbench. java:679)
at org.eclipse.core.databinding.observable.Realm.runW ithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWork bench(Workbench.java:668)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(Pl atformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplica tion.start(IDEApplication.java:123)
at org.eclipse.equinox.internal.app.EclipseAppHandle. run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseA ppLauncher.runApplication(EclipseAppLauncher.java: 110)
at org.eclipse.core.runtime.internal.adaptor.EclipseA ppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.eclipse.equinox.launcher.Main.invokeFramework( Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.ja va:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:14 10)
Caused by: java.lang.ClassNotFoundException: org.eclipse.jpt.common.utility.internal.StatefulCo mmandExecutor
at org.eclipse.osgi.internal.loader.BundleLoader.find ClassInternal(BundleLoader.java:513)
at org.eclipse.osgi.internal.loader.BundleLoader.find Class(BundleLoader.java:429)
at org.eclipse.osgi.internal.loader.BundleLoader.find Class(BundleLoader.java:417)
at org.eclipse.osgi.internal.baseadaptor.DefaultClass Loader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 66)
... 52 more


Please aiuto.....

P.S. uso Ubuntu 12.04

angmgio
23-06-13, 12:53
Ciao.....

nulla????

please

ignazioc
24-06-13, 11:32
così è difficile darti una mano, intanto da eclipse se crei un nuovo progetto java e non scrivi nulla...compila? perché in realtà il progetto java di default di eclipse e già un hello world...

angmgio
24-06-13, 18:31
Ok ho disinstallato e reinstallato tutto
adesso ci siamo .

grazie