java.lang.NoClassDefFoundError in Plugin [message #55613] |
Thu, 16 April 2009 06:36  |
Eclipse User |
|
|
|
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 #56217 is a reply to message #55774] |
Thu, 16 April 2009 13:36  |
Eclipse User |
|
|
|
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 07:48  |
Eclipse User |
|
|
|
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 08:17  |
Eclipse User |
|
|
|
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 09:36  |
Eclipse User |
|
|
|
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 13:36  |
Eclipse User |
|
|
|
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.
>
|
|
|
Powered by
FUDForum. Page generated in 0.07590 seconds