Skip to main content



      Home
Home » Newcomers » Newcomers » java.lang.NoClassDefFoundError: org/eclipse/ui/ide/IDE
java.lang.NoClassDefFoundError: org/eclipse/ui/ide/IDE [message #161856] Thu, 20 July 2006 06:14 Go to next message
Eclipse UserFriend
Originally posted by: flajos.inf.u-szeged.hu

Hi!

I use Eclipse 3.1 and I have made a plugin that prints some file paths and
line infos to it's bottom window. I want to open a file (in a text editor)
by double clicking on it, but I got the next message in the log:

!ENTRY org.eclipse.jface 4 2 2006-07-20 11:40:29.125
!MESSAGE Problems occurred when invoking code from plug-in:
"org.eclipse.jface".
!STACK 0
java.lang.NoClassDefFoundError: org/eclipse/ui/ide/IDE
at addIn_eclipse.Java.MyProg.MyProgdoubleClick(MyProgView.java: 386)
at
org.eclipse.jface.viewers.StructuredViewer$1.run(StructuredV iewer.java:720)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:1044)
at org.eclipse.core.runtime.Platform.run(Platform.java:783)

I think my problem caused by the exporting, because when I run my plugin
inside the eclipse with option "Run as eclipse application" then it works.
And other interesting fact, that it also works in Eclipse 3.2 with
exporting. (when I build and export in 3.2 and use the JAR in 3.2)

I don't know why works it in the case of 3.2 but doesn't in 3.1. Maybe
some differencies between default settings in these versions.

Have you any idea?

Thanks, Luigi
Re: java.lang.NoClassDefFoundError: org/eclipse/ui/ide/IDE [message #161881 is a reply to message #161856] Thu, 20 July 2006 10:08 Go to previous message
Eclipse UserFriend
Originally posted by: flajos.inf.u-szeged.hu

I can't resolve this problem, I download a tool that search jar files in
the case of NoClassDefFoundError exceptions, but it was not enough, so
instead of this I used a better way (Markers)


Lajos Fulop wrote:

> Hi!

> I use Eclipse 3.1 and I have made a plugin that prints some file paths and
> line infos to it's bottom window. I want to open a file (in a text editor)
> by double clicking on it, but I got the next message in the log:

> !ENTRY org.eclipse.jface 4 2 2006-07-20 11:40:29.125
> !MESSAGE Problems occurred when invoking code from plug-in:
> "org.eclipse.jface".
> !STACK 0
> java.lang.NoClassDefFoundError: org/eclipse/ui/ide/IDE
> at addIn_eclipse.Java.MyProg.MyProgdoubleClick(MyProgView.java: 386)
> at
> org.eclipse.jface.viewers.StructuredViewer$1.run(StructuredV iewer.java:720)
> at
>
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:1044)
> at org.eclipse.core.runtime.Platform.run(Platform.java:783)

> I think my problem caused by the exporting, because when I run my plugin
> inside the eclipse with option "Run as eclipse application" then it works.
> And other interesting fact, that it also works in Eclipse 3.2 with
> exporting. (when I build and export in 3.2 and use the JAR in 3.2)

> I don't know why works it in the case of 3.2 but doesn't in 3.1. Maybe
> some differencies between default settings in these versions.

> Have you any idea?

> Thanks, Luigi
Previous Topic:Can External Tools Configuration set in code?
Next Topic:Installation Issues
Goto Forum:
  


Current Time: Fri May 02 12:41:49 EDT 2025

Powered by FUDForum. Page generated in 0.07233 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top