Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » in M5 class disappear?
in M5 class disappear? [message #119906] Mon, 24 November 2003 10:30 Go to next message
Luca Di Stefano is currently offline Luca Di StefanoFriend
Messages: 41
Registered: July 2009
Member
On M5 I get several exceptions like the following:

!MESSAGE Problems occurred when invoking code from plug-in:
"org.eclipse.ui.workbench".
!STACK 0
java.lang.NoClassDefFoundError: org/eclipse/jface/text/ITextViewer
at java.lang.Class.getDeclaredConstructors0(Native Method)
.....


it happens in some plugins and CDT and this problem not occur on M4

is the problem in my environment only or is an expected behavior ?

thanks,

Luca
Re: in M5 class disappear? [message #119920 is a reply to message #119906] Mon, 24 November 2003 11:15 Go to previous messageGo to next message
Christoph Kutzinski is currently offline Christoph KutzinskiFriend
Messages: 24
Registered: July 2009
Junior Member
Luca Di Stefano wrote:
> On M5 I get several exceptions like the following:
>
> !MESSAGE Problems occurred when invoking code from plug-in:
> "org.eclipse.ui.workbench".
> !STACK 0
> java.lang.NoClassDefFoundError: org/eclipse/jface/text/ITextViewer
> at java.lang.Class.getDeclaredConstructors0(Native Method)
> ....
>
>
> it happens in some plugins and CDT and this problem not occur on M4
>
> is the problem in my environment only or is an expected behavior ?
>
> thanks,
>
> Luca
>

Hi,

I experienced a similar problem with the X-men plugin (in that case it
was the org/eclipse/jface/text/source/SourceViewerConfiguration class.

I solved it by adding the jface-text plugin to the list of the required
plugins of the X-Men plugin.
I.e.:
Open plugin.xml in the folder of the plugin and add a line under
<requires>: <import plugin="org.eclipse.jface.text"/>

I don't know if this is a problem or a planned change to the
plugin-descriptor.


HTH
Christoph
Re: in M5 class disappear? [message #119943 is a reply to message #119920] Mon, 24 November 2003 12:36 Go to previous messageGo to next message
Henning Riedel is currently offline Henning RiedelFriend
Messages: 310
Registered: July 2009
Senior Member
If you had read the changelist of Eclipse 3.0M5, you would know, that the
Eclipse API has undergone major API changes. This changes will break almost
all plugins.

CDT1.2.0 is for Eclipse 2.1.x and Eclipse 3.0 up to M4 only.

Christoph Kutzinski schrieb:
> Luca Di Stefano wrote:
>
>> On M5 I get several exceptions like the following:
>>
>> !MESSAGE Problems occurred when invoking code from plug-in:
>> "org.eclipse.ui.workbench".
>> !STACK 0
>> java.lang.NoClassDefFoundError: org/eclipse/jface/text/ITextViewer
>> at java.lang.Class.getDeclaredConstructors0(Native Method)
>> ....
>>
>>
>> it happens in some plugins and CDT and this problem not occur on M4
>>
>> is the problem in my environment only or is an expected behavior ?
>>
>> thanks,
>>
>> Luca
>>
>
> Hi,
>
> I experienced a similar problem with the X-men plugin (in that case it
> was the org/eclipse/jface/text/source/SourceViewerConfiguration class.
>
> I solved it by adding the jface-text plugin to the list of the required
> plugins of the X-Men plugin.
> I.e.:
> Open plugin.xml in the folder of the plugin and add a line under
> <requires>: <import plugin="org.eclipse.jface.text"/>
>
> I don't know if this is a problem or a planned change to the
> plugin-descriptor.
>
>
> HTH
> Christoph
>
Re: in M5 class disappear? [message #119998 is a reply to message #119920] Mon, 24 November 2003 13:25 Go to previous messageGo to next message
Luca Di Stefano is currently offline Luca Di StefanoFriend
Messages: 41
Registered: July 2009
Member
Christoph Kutzinski wrote:
> Luca Di Stefano wrote:
>
>> On M5 I get several exceptions like the following:
>>
>> !MESSAGE Problems occurred when invoking code from plug-in:
>> "org.eclipse.ui.workbench".
>> !STACK 0
>> java.lang.NoClassDefFoundError: org/eclipse/jface/text/ITextViewer
>> at java.lang.Class.getDeclaredConstructors0(Native Method)
>> ....
>>
>>
>> it happens in some plugins and CDT and this problem not occur on M4
>>
>> is the problem in my environment only or is an expected behavior ?
>>
>> thanks,
>>
>> Luca
>>
>
> Hi,
>
> I experienced a similar problem with the X-men plugin (in that case it
> was the org/eclipse/jface/text/source/SourceViewerConfiguration class.
>
> I solved it by adding the jface-text plugin to the list of the required
> plugins of the X-Men plugin.
> I.e.:
> Open plugin.xml in the folder of the plugin and add a line under
> <requires>: <import plugin="org.eclipse.jface.text"/>

Thanks Christoph, I will try asap your hack ;-))

bye,
Luca

>
> I don't know if this is a problem or a planned change to the
> plugin-descriptor.
>
>
> HTH
> Christoph
>
Re: in M5 class disappear? [message #120011 is a reply to message #119943] Mon, 24 November 2003 13:25 Go to previous messageGo to next message
Luca Di Stefano is currently offline Luca Di StefanoFriend
Messages: 41
Registered: July 2009
Member
Hi,

Henning Riedel wrote:

> If you had read the changelist of Eclipse 3.0M5, you would know, that the
> Eclipse API has undergone major API changes. This changes will break almost
> all plugins.

I read that on "Eclipse Project Draft 3.0 plan posted", but I have no
warnings found about incompatible changes between M4 and M5, maybe they
are in the build notes?

>
> CDT1.2.0 is for Eclipse 2.1.x and Eclipse 3.0 up to M4 only.
>

CDT 1.2.0 doesn't work for other reasons in M4 too.
I will wait until CDT will work on 3.0, in the meanwhile if someone have
oher hacks to let it work under M5 are wellcome!

thanks again,

Luca

> Christoph Kutzinski schrieb:
>
>> Luca Di Stefano wrote:
>>
>>> On M5 I get several exceptions like the following:
>>>
>>> !MESSAGE Problems occurred when invoking code from plug-in:
>>> "org.eclipse.ui.workbench".
>>> !STACK 0
>>> java.lang.NoClassDefFoundError: org/eclipse/jface/text/ITextViewer
>>> at java.lang.Class.getDeclaredConstructors0(Native Method)
>>> ....
>>>
>>>
>>> it happens in some plugins and CDT and this problem not occur on M4
>>>
>>> is the problem in my environment only or is an expected behavior ?
>>>
>>> thanks,
>>>
>>> Luca
>>>
>>
>> Hi,
>>
>> I experienced a similar problem with the X-men plugin (in that case it
>> was the org/eclipse/jface/text/source/SourceViewerConfiguration class.
>>
>> I solved it by adding the jface-text plugin to the list of the
>> required plugins of the X-Men plugin.
>> I.e.:
>> Open plugin.xml in the folder of the plugin and add a line under
>> <requires>: <import plugin="org.eclipse.jface.text"/>
>>
>> I don't know if this is a problem or a planned change to the
>> plugin-descriptor.
>>
>>
>> HTH
>> Christoph
>>
>
Re: in M5 class disappear? [message #122788 is a reply to message #120011] Thu, 27 November 2003 22:38 Go to previous message
Eclipse UserFriend
Originally posted by: dschaefe.ca.ibm.com

Yes, the changes in Eclipse 3.0 M5 were pretty dramatic. We have now caught
up and have released an M5 version of CDT 2.0 that will (at least) run in
E3.0 M5.

Cheers,
Doug

Luca Di Stefano wrote:

> Hi,
>
> Henning Riedel wrote:
>
>> If you had read the changelist of Eclipse 3.0M5, you would know, that the
>> Eclipse API has undergone major API changes. This changes will break
>> almost all plugins.
>
> I read that on "Eclipse Project Draft 3.0 plan posted", but I have no
> warnings found about incompatible changes between M4 and M5, maybe they
> are in the build notes?
>
>>
>> CDT1.2.0 is for Eclipse 2.1.x and Eclipse 3.0 up to M4 only.
>>
>
> CDT 1.2.0 doesn't work for other reasons in M4 too.
> I will wait until CDT will work on 3.0, in the meanwhile if someone have
> oher hacks to let it work under M5 are wellcome!
>
> thanks again,
>
> Luca
>
>> Christoph Kutzinski schrieb:
>>
>>> Luca Di Stefano wrote:
>>>
>>>> On M5 I get several exceptions like the following:
>>>>
>>>> !MESSAGE Problems occurred when invoking code from plug-in:
>>>> "org.eclipse.ui.workbench".
>>>> !STACK 0
>>>> java.lang.NoClassDefFoundError: org/eclipse/jface/text/ITextViewer
>>>> at java.lang.Class.getDeclaredConstructors0(Native Method)
>>>> ....
>>>>
>>>>
>>>> it happens in some plugins and CDT and this problem not occur on M4
>>>>
>>>> is the problem in my environment only or is an expected behavior ?
>>>>
>>>> thanks,
>>>>
>>>> Luca
>>>>
>>>
>>> Hi,
>>>
>>> I experienced a similar problem with the X-men plugin (in that case it
>>> was the org/eclipse/jface/text/source/SourceViewerConfiguration class.
>>>
>>> I solved it by adding the jface-text plugin to the list of the
>>> required plugins of the X-Men plugin.
>>> I.e.:
>>> Open plugin.xml in the folder of the plugin and add a line under
>>> <requires>: <import plugin="org.eclipse.jface.text"/>
>>>
>>> I don't know if this is a problem or a planned change to the
>>> plugin-descriptor.
>>>
>>>
>>> HTH
>>> Christoph
>>>
>>
Previous Topic:packaging jars (un?required ant jars)
Next Topic:Passing compiler(javac) -source 1.5 ...how ?
Goto Forum:
  


Current Time: Wed Jul 17 09:48:11 GMT 2024

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

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

Back to the top