Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » java.lang.NoClassDefFoundError in Plugin
java.lang.NoClassDefFoundError in Plugin [message #55613] Thu, 16 April 2009 10:36 Go to next message
Timothy Marc is currently offline Timothy MarcFriend
Messages: 547
Registered: July 2009
Senior Member
Hey all,

me and some guys from the institute have investigated some common,
probable issues or faults, but we still get the NCDF-Error, after
exporting out plugins as features and installing them into another
eclipse instance (both 3.4 releases).

The class, which is not found is exported and still present in the
exported plugin, as well as its package is exported in the runtime
section of MANIFEST.MF. We still have cleaned, reexported etc. the whole
scenario, but after exporting the feature, the class won't be found.
Even if we create a new, cleaned workspace, we have no success. From
inside the development ide or by debugging it by running an Eclipse
Application, it works! Very strange.

Here is the stack trace:
java.lang.NoClassDefFoundError:
de/fraunhofer/fokus/testing/testingMM/util/utp/DynamicUTPHel per
at
de.fraunhofer.fokus.testing.transformation.modelplex.sys2pit .Sys2PITTransformator.iterateTestContextModels(Sys2PITTransf ormator.java:186)
at
de.fraunhofer.fokus.testing.transformation.modelplex.sys2pit .Sys2PITTransformator.transform(Sys2PITTransformator.java:13 7)
at
de.fraunhofer.fokus.testing.transformation.modelplex.runner. ModelTransformer.transformSys2PIT(ModelTransformer.java:73)
at
de.fraunhofer.fokus.testing.transformation.modelplex.runner. ModelTransformer.transform(ModelTransformer.java:46)
at
de.fraunhofer.fokus.testing.transformation.gui.importWizards .TestingFileImportWizard.performFinish(TestingFileImportWiza rd.java:48)

Any ideas, we have no more :(
Timothy
Re: java.lang.NoClassDefFoundError in Plugin [message #55668 is a reply to message #55613] Thu, 16 April 2009 11:48 Go to previous messageGo to next message
Ankur Sharma is currently offline Ankur SharmaFriend
Messages: 84
Registered: July 2009
Member
Timothy Marc wrote:
> after
> exporting out plugins as features and installing them into another
> eclipse instance (both 3.4 releases).

How are you installing it to another eclipse? Export -> Install into host. Repository?

Another way to do the same thing could be by creating an update site.

--
hth,
Ankur..
Re: java.lang.NoClassDefFoundError in Plugin [message #55695 is a reply to message #55668] Thu, 16 April 2009 12:17 Go to previous messageGo to next message
Timothy Marc is currently offline Timothy MarcFriend
Messages: 547
Registered: July 2009
Senior Member
Currently, we're copying the files into the target platform directories.

Ankur Sharma schrieb:
> Timothy Marc wrote:
>> after
>> exporting out plugins as features and installing them into another
>> eclipse instance (both 3.4 releases).
>
> How are you installing it to another eclipse? Export -> Install into
> host. Repository?
>
> Another way to do the same thing could be by creating an update site.
>
Re: java.lang.NoClassDefFoundError in Plugin [message #55774 is a reply to message #55695] Thu, 16 April 2009 13:36 Go to previous messageGo to next message
Ankur Sharma is currently offline Ankur SharmaFriend
Messages: 84
Registered: July 2009
Member
Timothy Marc wrote:
> Currently, we're copying the files into the target platform directories.
>
> Ankur Sharma schrieb:
>> Timothy Marc wrote:
>>> after
>>> exporting out plugins as features and installing them into another
>>> eclipse instance (both 3.4 releases).
>>
>> How are you installing it to another eclipse? Export -> Install into
>> host. Repository?
>>
>> Another way to do the same thing could be by creating an update site.
>>

3.4 have P2 provisioner to handle installing/updating the plugins. The 3.3 way of copying the
plugins to eclipse\plugins won't work. You need to drop them to eclipse\dropins location. The
recommended way to go about it would to build an update site. And update you other eclipse
installation using it.

--
hth,
Ankur..
Re: java.lang.NoClassDefFoundError in Plugin [message #56217 is a reply to message #55774] Thu, 16 April 2009 17:36 Go to previous message
Eclipse UserFriend
Originally posted by: tmothymarc.freenet.de

Okay, thanks for this hint. It works now ;-)

Ankur Sharma schrieb:
> Timothy Marc wrote:
>> Currently, we're copying the files into the target platform directories.
>>
>> Ankur Sharma schrieb:
>>> Timothy Marc wrote:
>>>> after
>>>> exporting out plugins as features and installing them into another
>>>> eclipse instance (both 3.4 releases).
>>>
>>> How are you installing it to another eclipse? Export -> Install into
>>> host. Repository?
>>>
>>> Another way to do the same thing could be by creating an update site.
>>>
>
> 3.4 have P2 provisioner to handle installing/updating the plugins. The
> 3.3 way of copying the plugins to eclipse\plugins won't work. You need
> to drop them to eclipse\dropins location. The recommended way to go
> about it would to build an update site. And update you other eclipse
> installation using it.
>
Re: java.lang.NoClassDefFoundError in Plugin [message #595404 is a reply to message #55613] Thu, 16 April 2009 11:48 Go to previous message
Ankur Sharma is currently offline Ankur SharmaFriend
Messages: 84
Registered: July 2009
Member
Timothy Marc wrote:
> after
> exporting out plugins as features and installing them into another
> eclipse instance (both 3.4 releases).

How are you installing it to another eclipse? Export -> Install into host. Repository?

Another way to do the same thing could be by creating an update site.

--
hth,
Ankur..
Re: java.lang.NoClassDefFoundError in Plugin [message #595412 is a reply to message #55668] Thu, 16 April 2009 12:17 Go to previous message
Timothy Marc is currently offline Timothy MarcFriend
Messages: 547
Registered: July 2009
Senior Member
Currently, we're copying the files into the target platform directories.

Ankur Sharma schrieb:
> Timothy Marc wrote:
>> after
>> exporting out plugins as features and installing them into another
>> eclipse instance (both 3.4 releases).
>
> How are you installing it to another eclipse? Export -> Install into
> host. Repository?
>
> Another way to do the same thing could be by creating an update site.
>
Re: java.lang.NoClassDefFoundError in Plugin [message #595432 is a reply to message #55695] Thu, 16 April 2009 13:36 Go to previous message
Ankur Sharma is currently offline Ankur SharmaFriend
Messages: 84
Registered: July 2009
Member
Timothy Marc wrote:
> Currently, we're copying the files into the target platform directories.
>
> Ankur Sharma schrieb:
>> Timothy Marc wrote:
>>> after
>>> exporting out plugins as features and installing them into another
>>> eclipse instance (both 3.4 releases).
>>
>> How are you installing it to another eclipse? Export -> Install into
>> host. Repository?
>>
>> Another way to do the same thing could be by creating an update site.
>>

3.4 have P2 provisioner to handle installing/updating the plugins. The 3.3 way of copying the
plugins to eclipse\plugins won't work. You need to drop them to eclipse\dropins location. The
recommended way to go about it would to build an update site. And update you other eclipse
installation using it.

--
hth,
Ankur..
Re: java.lang.NoClassDefFoundError in Plugin [message #595583 is a reply to message #55774] Thu, 16 April 2009 17:36 Go to previous message
Timothy Marc is currently offline Timothy MarcFriend
Messages: 547
Registered: July 2009
Senior Member
Okay, thanks for this hint. It works now ;-)

Ankur Sharma schrieb:
> Timothy Marc wrote:
>> Currently, we're copying the files into the target platform directories.
>>
>> Ankur Sharma schrieb:
>>> Timothy Marc wrote:
>>>> after
>>>> exporting out plugins as features and installing them into another
>>>> eclipse instance (both 3.4 releases).
>>>
>>> How are you installing it to another eclipse? Export -> Install into
>>> host. Repository?
>>>
>>> Another way to do the same thing could be by creating an update site.
>>>
>
> 3.4 have P2 provisioner to handle installing/updating the plugins. The
> 3.3 way of copying the plugins to eclipse\plugins won't work. You need
> to drop them to eclipse\dropins location. The recommended way to go
> about it would to build an update site. And update you other eclipse
> installation using it.
>
Previous Topic:Unable to export to other platforms
Next Topic:Headless build doesn't enforce OSGi constraints
Goto Forum:
  


Current Time: Thu Dec 26 22:40:46 GMT 2024

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

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

Back to the top